Stripe Test Card Numbers

Official Stripe test card numbers for successful payments, every decline code, and 3D Secure authentication flows.

Expiry: Any future date
CVV: Any 3 digits (4 for Amex)
Official documentation

Successful payments

These are approved by the test processor. One per card brand.

Card numberBrandResultCopy
4242 4242 4242 4242Visa
Payment succeeds
4000 0566 5566 5556Visa
Payment succeeds Debit
5555 5555 5555 4444Mastercard
Payment succeeds
5200 8282 8282 8210Mastercard
Payment succeeds Debit
3782 822463 10005American Express
Payment succeeds
6011 1111 1111 1117Discover
Payment succeeds
3056 9300 0902 0004Diners Club
Payment succeeds
3566 0020 2036 0505JCB
Payment succeeds

Declines and errors

The cases your checkout has to handle gracefully. Each returns a specific error or decline code.

Card numberBrandResultCopy
4000 0000 0000 0002Visa
Generic decline generic_decline
4000 0000 0000 9995Visa
Insufficient funds insufficient_funds
4000 0000 0000 9987Visa
Lost card lost_card
4000 0000 0000 9979Visa
Stolen card stolen_card
4000 0000 0000 0069Visa
Expired card expired_card
4000 0000 0000 0127Visa
Incorrect CVC incorrect_cvc
4000 0000 0000 0119Visa
Processing error processing_error
4242 4242 4242 4241Visa
Incorrect number incorrect_number

3D Secure authentication

For testing SCA and the authentication challenge flow.

Card numberBrandResultCopy
4000 0000 0000 3220Visa
Authentication required, then succeeds Ireland-issued
4000 0084 0000 0027Visa
Authentication required, then succeeds US-issued
4000 0084 0000 1629Visa
Authentication required, then declines
4000 0000 0000 3055Visa
Authentication supported but not required

Before you use these

  • Only works with test API keys. Live keys reject these numbers.
  • Any future expiry date and any CVC of the right length will be accepted.
  • These numbers are published by Stripe for sandbox testing. They are not real cards and cannot be used for a real purchase.