Skip to main content
R
Billing platform

Recurly Test Gateway Card Numbers

Recurly's Test Gateway is active by default on your Recurly sandbox. It simulates gateway responses from the card number, so you can test billing and dunning without connecting a real gateway.

Sandbox and test mode only. Never use real card numbers.
Source: Recurly docs, checked November 2026

Before you test

  • The Test Gateway is on by default in Recurly sandbox sites.
  • Results may not always match a live gateway, and not every real-world error can be simulated.
  • Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, INR and more.

Successful card numbers

Card numberBrand
4111 1111 1111 1111
Visa
4012 8888 8888 1881
Visa
5555 5555 5555 4444
Mastercard
2223 0000 4840 0011
Mastercard (2-series)
3782 8224 6310 005
American Express
6011 0009 9013 9424
Discover
3056 9309 0259 04
Diners Club
3530 1113 3330 0000
JCB
4000 0000 0000 2024
Visa
Purchase succeeds, refund declines

Declined transactions

Card numberScenarioExpected resultDecline code
4000 0000 0000 0077
Insufficient fundsDeclined: insufficient fundsRecurly insufficient_funds
4000 0000 0000 0069
Expired cardExpired card or expiration date mismatchRecurly expired_card
4000 0000 0000 0101
CVV mismatchCVV / security code mismatchRecurly declined_security_code
4000 0000 0000 0002
Generic declineDeclined by the gatewayRecurly declined
4000 0000 0000 0051
Card number declinedCard number declined
4000 0000 0000 0119
Call issuerDeclined by issuing bank, customer must contact their bankRecurly call_issuer
4000 0000 0000 0085
Fraud filtersDid not pass fraud filtersRecurly fraud_gateway
4000 0000 0000 1190
Fraud risk scoreDeclined due to a fraud risk score
4000 0000 0000 0036
AVS postal codeAVS failed on postal code
4000 0000 0000 0226
Invalid expiration dateInvalid expiration date
4000 0000 0000 0309
Gateway timeoutGateway timeoutRecurly gateway_timeout
4000 0000 0000 0317
Duplicate transactionDuplicate transaction
4000 0000 0000 0341
Stores, then declinesDeclined by Gateway, but Recurly stores the cardRecurly declined_saveable

3DS2 test cards

Card numberScenarioExpected result
4000 0000 0000 3220
Challenge flowTriggers the 3DS2 challenge flow
4000 0000 0000 3063
Device fingerprint flowTriggers the device fingerprint flow
4222 2222 2222 2220
FrictionlessApproved, flagged for fraud review
4000 0084 0000 1629
3DS2 dunning flowTests the 3DS2 dunning flow

ACH test bank accounts

Add bank accounts through the API, Hosted Account Management pages or the hosted invoice Make a Payment button.

ValueScenarioExpected result
123456780
Routing number (the only one that works in sandbox)BANK OF RECURLY
111111111
Account numberSettled
111111112
Account numberTransaction canceled by the bank
111111114
Account numberSucceeds, then chargeback

Testing failed subscription renewals on Recurly

Recurly documents a card made for renewal testing: 4000 0000 0000 0341 is stored on the account, but its transactions are declined by the gateway. That is how a real failed renewal looks.

  1. 1Add 4000 0000 0000 0341 as the billing info on a sandbox account. Recurly stores it.
  2. 2Let a subscription renew (or start one with a trial). The renewal invoice fails and the account enters dunning.
  3. 3Use 4000 0084 0000 1629 to test the 3DS2 dunning flow, where the customer must authenticate to pay.
  4. 4For ACH renewals, account number 111111112 returns a transaction canceled by the bank.

In production, many failed renewals are soft declines that can succeed on a later attempt if the retry is timed right. See how Slicker smart retries pick the timing, gateway and amount for each failed payment.

Payment recovery

Your sandbox passes. What about the renewals failing in production?

Test cards prove your integration handles a decline. They do not show how much of your real failed Recurly volume is recoverable. We will look at your decline mix and tell you.

Talk to Sales

Recurly test card FAQ

What are the Recurly test credit card numbers?

With the Test Gateway, 4111 1111 1111 1111 succeeds and cards such as 4000 0000 0000 0077 (insufficient funds) and 4000 0000 0000 0069 (expired) decline.

How do I test dunning in Recurly?

Store 4000 0000 0000 0341 as billing info. Recurly accepts the card, but transactions are declined by the gateway, so the next renewal fails and dunning starts.

Which Recurly test card triggers a 3DS2 challenge?

4000 0000 0000 3220 triggers the 3DS2 challenge flow. 4000 0000 0000 3063 triggers the device fingerprint flow.

What is the Recurly sandbox ACH routing number?

123456780 is the only routing number that works in sandbox mode. Account 111111111 settles; 111111112 is canceled by the bank.

Sources

Values copied from the provider's documentation and checked November 2026. Providers change test values; if a number stops working, the source page is the reference.

Test cards for other providers

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy