Advertisement

Test Credit Card Numbers

Official sandbox test cards from 18 payment gateways and wallets, organised by gateway, by card brand and by scenario — success, decline, insufficient funds, expired card, wrong CVC and 3D Secure.

Advertisement

Test cards by payment gateway

Payment gateways

Regional gateways

Platforms, wallets and BNPL

All numbers are copied from each gateway’s official documentation (links on each page), checked October 2026, and pass the Luhn check.

Advertisement

Test card numbers by scenario

Every gateway simulates outcomes differently. Some use special card numbers, others a value in the cardholder name, the amount or the billing ZIP code. This table shows how to trigger the six scenarios most test plans need. Use any future expiry date and any CVV unless a note says otherwise.

Successful payment (Visa)

GatewayTest card or triggerNotesCopy
Stripe4242 4242 4242 4242any future expiry, any CVC
PayPal4012 8888 8888 1881
Braintree4111 1111 1111 1111outcome set by amount: 0.01–1999.99 succeeds
Adyen4111 1111 1111 1111expiry 03/2030, CVC 737
Square4111 1111 1111 1111CVV 111
Authorize.net4111 1111 1111 1111
Razorpay4100 2800 0000 1007domestic; OTP of 4–10 digits
Checkout.com4242 4242 4242 4242
Shopify4242 4242 4242 4242Shopify Payments test mode; two-word name
Worldpay4444 3333 2222 1111Try environment
Cybersource4111 1111 1111 1111
Mollie4543 4740 0224 9996choose “paid” on the test screen
Mercado Pago4235 6477 2802 5682Brazil; cardholder name APRO
2Checkout4111 1111 1111 1111cardholder name John Doe
Klarna4111 1111 1111 1111CVC 123 in the Klarna widget

Generic decline

GatewayTest card or triggerNotesCopy
Stripe4000 0000 0000 0002card_declined / generic_decline
PayPalName on card: CCREJECT-REFUSEDresponse 0500 DO_NOT_HONOR
BraintreeAmount 2000.00processor response 2000 Do Not Honor
AdyenholderName: DECLINEDresultCode Refused
Square4000 0000 0000 0002card declined
Authorize.netBilling ZIP 46282response code 2, declined
Razorpay4100 2800 0006 0003select Failure; card_declined
Checkout.com4539 4679 8710 925620005 Declined – Do not honour
Shopify4000 0000 0000 0002card declined
WorldpaycardHolderName: REFUSEDoutcome refused
MollieAmount €1,011.00, then choose failedfailureReason card_declined
Mercado PagoCardholder name: OTHEdeclined for general error
Flutterwave5143 0105 2233 9965do not honour; PIN 3310, OTP 12345
KlarnaEmail customer+de+denied@klarna.comhard decline (not testable in every market)

Insufficient funds

GatewayTest card or triggerNotesCopy
Stripe4000 0000 0000 9995decline code insufficient_funds
PayPalName on card: CCREJECT-IFresponse 5120 INSUFFICIENT_FUNDS
BraintreeAmount 2001.00processor response 2001
AdyenholderName: NOT_ENOUGH_BALANCErefusalReason Not enough balance
Razorpay4100 2800 0008 0001select Failure; insufficient_fund
Checkout.com4544 2491 6767 367020051 Insufficient funds
Shopify4000 0000 0000 9995insufficient funds
WorldpaycardHolderName: REFUSED51code 51, limit exceeded
MollieAmount €1,007.00, then choose failedfailureReason insufficient_funds
Mercado PagoCardholder name: FUNDdeclined for insufficient amount
Flutterwave5258 5859 2266 6506PIN 3310, OTP 12345
2CheckoutCardholder name: Mona Doeinsufficient funds

Expired card

GatewayTest card or triggerNotesCopy
Stripe4000 0000 0000 0069error code expired_card
PayPalName on card: CCREJECT-ECresponse 5400 EXPIRED_CARD
BraintreeAmount 2004.00processor response 2004
AdyenholderName: CARD_EXPIREDrefusalReason Expired Card
SquareExpiry 01/40card expiration date incorrect
Shopify4000 0000 0000 0069expired card
WorldpaycardHolderName: REFUSED33code 33, card expired
MollieAmount €1,004.00, then choose failedfailureReason card_expired
Mercado PagoCardholder name: EXPIdeclined due to due date issue
2CheckoutCardholder name: Angela Doeexpired card

Incorrect CVC / CVV

GatewayTest card or triggerNotesCopy
Stripe4000 0000 0000 0127error code incorrect_cvc
PayPalName on card: CCREJECT-CVV_Fresponse 00N7
BraintreeCVV 200 (CID 2000)CVV response N; needs CVV rules enabled
AdyenholderName: CVC_DECLINEDrefusalReason CVC Declined
SquareCVV 911card CVV incorrect
Authorize.netCard code 901CVV response N (does not match)
Checkout.com4734 8689 5873 3862200N7 Decline for CVV2 failure
Shopify4000 0000 0000 0127incorrect CVC
WorldpayCVC 444 (Amex 4444)CVC check failed (riskFactors)
MollieAmount €1,002.00, then choose failedfailureReason invalid_cvv
Mercado PagoCardholder name: SECUdeclined for invalid security code
2CheckoutCardholder name: Jack Doeinvalid CVV

3D Secure challenge

GatewayTest card or triggerNotesCopy
Stripe4000 0027 6000 3184authentication required on all transactions
PayPal4868 7191 6610 1368test case 7: successful step-up
Braintree4000 0000 0000 2503successful challenge; expiry 01 / current year + 3
Adyen4212 3456 7891 0006challenge; password “password”
Square4310 0000 0020 1019verification code 123456
Checkout.com5385 3083 6013 5181simulator password Checkout1!
Flutterwave4187 4274 1556 42463DS redirect; OTP 12345
Klarna4687 3888 8888 8881triggers the 3-D Secure flow
2CheckoutCardholder name: Joy Doeauthentication failed

Test card numbers by brand

One successful sandbox card per brand and gateway. Use these to check that your checkout detects each brand and that the gateway accepts it. Each brand links to a generator for bulk, format-valid numbers.

BrandGatewayTest numberCopy
VisaStripe4242 4242 4242 4242
PayPal4005 5192 0000 0004
Braintree4111 1111 1111 1111
Adyen4111 1111 1111 1111
Square4111 1111 1111 1111
Authorize.net4007 0000 0002 7
Razorpay4100 2800 0000 1007
Checkout.com4000 0200 0000 0000
Shopify4242 4242 4242 4242
Worldpay4444 3333 2222 1111
Cybersource4111 1111 1111 1111
MastercardStripe5555 5555 5555 4444
PayPal2223 0000 4840 0011
Braintree5555 5555 5555 4444
Adyen5555 5555 5555 4444
Square5105 1051 0510 5100
Authorize.net5424 0000 0000 0015
Razorpay5555 5100 0008 1006
Checkout.com5436 0310 3060 6378
Shopify5555 5555 5555 4444
Worldpay5555 5555 5555 4444
Cybersource5555 5555 5555 4444
American ExpressStripe3782 822463 10005
PayPal3714 496353 98431
Braintree3782 822463 10005
Adyen3700 000000 00002
Square3400 000000 00009
Authorize.net3700 000000 00002
Razorpay3402 560004 01007
Checkout.com3456 789012 34564
Shopify3782 822463 10005
Worldpay3434 343434 34343
Cybersource3782 822463 10005
DiscoverStripe6011 1111 1111 1117
Braintree6011 0009 9130 0009
Adyen6011 6011 6011 6611
Square6011 0000 0000 0004
Authorize.net6011 0000 0000 0012
Checkout.com6011 1111 1111 1117
Shopify6011 1111 1111 1117
Cybersource6011 1111 1111 1117
JCBStripe3566 0020 2036 0505
Braintree3530 1113 3330 0000
Adyen3569 9900 1009 5841
Square3569 9900 1009 5841
Checkout.com3530 1113 3330 0000
Shopify3566 0020 2036 0505
Worldpay3528 0007 0000 0000
Cybersource3566 1111 1111 1113
Diners ClubStripe3056 9300 0902 0004
PayPal3646 151000 0039
Braintree3625 960000 0004
Adyen3600 666633 3344
Square3000 000000 0004
Razorpay3608 280009 1007
Checkout.com3616 094093 3914
Shopify3056 930902 5904
UnionPayStripe6200 0000 0000 0005
PayPal6200 6800 0000 0004
Braintree6243 0300 0000 0001
Adyen6243 0300 0000 0001
Authorize.net6221 4990 5336 0818
Shopify6200 0000 0000 0005
MaestroPayPal6304 0000 0000 0000
Braintree6304 0000 0000 0000
Adyen6771 7980 2100 0008
Worldpay6759 6498 2643 8453
Cybersource5033 961989 0917
Advertisement

Gateway test cards vs. generated card numbers

There are two kinds of “test card numbers”, and a good test plan uses both:

A typical order is: validate your form with generated numbers and the validator, then run the full payment flow in your gateway’s sandbox with its documented cards, covering success, at least one decline, insufficient funds, an expired card, a wrong CVC and a 3D Secure challenge.

Tips for testing card payments

Frequently asked questions

What is a test credit card number?

A card number that a payment gateway accepts only in its sandbox or test mode. It never moves money. Each gateway publishes its own list, and many numbers are wired to return a specific result, such as a decline or a 3D Secure challenge.

Which test card number always works?

There is no universal one. 4242 4242 4242 4242 succeeds on Stripe, Shopify Payments and Checkout.com, 4111 1111 1111 1111 on Braintree, Adyen, Square, Authorize.net, Cybersource and 2Checkout. Each only works in that gateway’s sandbox or test mode.

How do I test a declined payment?

It depends on the gateway: Stripe, Shopify, Square, Razorpay, Flutterwave and Checkout.com use special card numbers; PayPal, Adyen, Worldpay, Mercado Pago and 2Checkout use a value in the cardholder name; Braintree and Mollie use the amount; Authorize.net uses the billing ZIP code; Klarna uses the customer email. See the decline table above.

Are there test cards for Apple Pay and Google Pay?

Apple publishes sandbox card numbers that you add to Wallet with a sandbox tester account (see Apple Pay test cards). Google Pay has no list to type in: its test card suite shows test cards in the payment sheet (see Google Pay test cards).

What CVV and expiry date should I use?

Most gateways accept any future date and any three-digit CVV (four for American Express). Adyen is the exception: use expiry 03/2030 and CVC 737 (7373 for Amex), unless the card lists other values.

Can I use test card numbers on a real website?

No. Outside a sandbox they are declined, and trying to pay with a card you don’t own is fraud. To test your own form’s validation, use our card number generator.

Related tools

Advertisement