A secure testing tool for payment system developers and QA professionals. All test numbers are non-functional and strictly for development environments.

Stripe test cards

Stripe's test mode accepts these card numbers with any future expiry date and any CVC (4 digits for American Express). Use them with your test API keys; they are rejected in live mode.

*All random cards generated are structurally valid but have no actual balance and cannot be used for online payments or real transactions. Any attempt to use these test card numbers for actual purchases is strictly prohibited and illegal. For more details, visit our Terms of Service.

Test cards

Card number Network Type CVV Expiry
4242 4242 4242 4242 Visa Credit Any 3 digits Any future date
4000 0566 5566 5556 Visa Debit Any 3 digits Any future date
5555 5555 5555 4444 Mastercard Credit Any 3 digits Any future date
2223 0031 2200 3222 Mastercard (2-series) Credit Any 3 digits Any future date
5200 8282 8282 8210 Mastercard Debit Any 3 digits Any future date
5105 1051 0510 5100 Mastercard Prepaid Any 3 digits Any future date
3782 822463 10005 American Express Credit Any 4 digits Any future date
3714 496353 98431 American Express Credit Any 4 digits Any future date
6011 1111 1111 1117 Discover Credit Any 3 digits Any future date
6011 0009 9013 9424 Discover Credit Any 3 digits Any future date
6011 9811 1111 1113 Discover Debit Any 3 digits Any future date
3056 9300 0902 0004 Diners Club Credit Any 3 digits Any future date
3622 720627 1667 Diners Club (14 digits) Credit Any 3 digits Any future date
6555 9000 0060 4105 BCcard / DinaCard Credit Any 3 digits Any future date
3566 0020 2036 0505 JCB Credit Any 3 digits Any future date
6200 0000 0000 0005 UnionPay Credit Any 3 digits Any future date
6200 0000 0000 0047 UnionPay Debit Any 3 digits Any future date
6205 5000 0000 0000 004 UnionPay (19 digits) Credit Any 3 digits Any future date

Source: official Stripe documentation, checked on 2026-09-18

Cards from Latin American countries

These cards simulate a successful payment from a card issued in a specific country.

Card number Network Notes
4000 0003 2000 0021 Visa Argentina
4000 0007 6000 0002 Visa Brazil
4000 0015 2000 0001 Visa Chile
4000 0017 0000 0003 Visa Colombia
4000 0048 4000 8001 Visa Mexico
5062 2100 0000 0009 Carnet Mexico
4000 0060 4000 0068 Visa Peru

Source: official Stripe documentation, checked on 2026-09-18

Declined payments

Each card returns the listed error code (and decline code, after the slash).

Code Card number Notes
card_declined / generic_decline 4000 0000 0000 0002
card_declined / insufficient_funds 4000 0000 0000 9995
card_declined / lost_card 4000 0000 0000 9987
card_declined / stolen_card 4000 0000 0000 9979
expired_card 4000 0000 0000 0069
incorrect_cvc 4000 0000 0000 0127
processing_error 4000 0000 0000 0119
incorrect_number 4242 4242 4242 4241 Deliberately fails the Luhn check
card_declined / card_velocity_exceeded 4000 0000 0000 6975

Source: official Stripe documentation, checked on 2026-09-18

3D Secure authentication

Card number Notes
4000 0025 0000 3155 Requires authentication for off-session payments unless set up for future use; on-session payments always require it
4000 0027 6000 3184 Requires authentication on every transaction
4000 0038 0000 0446 Already set up for off-session use; on-session payments require authentication

Source: official Stripe documentation, checked on 2026-09-18

  • These numbers only work in the provider's test mode. They have no balance and are rejected in production.
  • Providers change their sandbox cards from time to time. If a number stops working, check the linked documentation.
  • Need numbers for a specific BIN instead? Use the test card generator.

Other gateways

Free payment testing tools