Where can I find Stripe test card numbers?
Stripe lists all of its test card numbers in the Testing section of its official documentation, on the page titled Test card numbers. That page covers every card brand Stripe supports, every simulated decline, and every authentication outcome. It is the only source worth trusting, because community mirrors go stale when Stripe retires or changes test values.
longtail stripe test card numbers for development
Which Stripe test card should I use first?
Start with 4242 4242 4242 4242, the universal Visa success card. Pair it with any future expiry date, any three digit CVC, and any postal code. The charge succeeds with no authentication prompt.
How to Use a Fake Stripe Card Number Generator
Other brands follow the same pattern:
Top Picks for Longtail Stripe Test Card Numbers
- Mastercard: 5555 5555 5555 4444
- American Express: 3782 822463 10005
- Discover: 6011 1111 1111 1117
- JCB: 3566 0020 2036 0505
- Diners Club: 3056 9300 0902 0004
Where are the decline and error test cards?
They sit on the same documentation page, grouped by failure type. Each number maps to one specific response, which lets you assert on exact error codes in your test suite.
Top 3 Stripe Test Card Numbers for Secure Transactions
- 4000 0000 0000 0002: generic card decline
- 4000 0000 0000 9995: insufficient funds
- 4000 0000 0000 0069: expired card
- 4000 0000 0000 0127: incorrect CVC check
- 4000 0000 0000 0119: processing error
Do Stripe test cards work in live mode?
No. Test cards only work with test mode API keys, the ones beginning with pk_test and sk_test. A test number sent with a live key returns a card declined error, and it never moves real money. Keep test keys in staging and live keys in production.
How do I test 3D Secure and authentication flows?
Stripe provides dedicated test cards that force an authentication step. 4000 0000 0000 3220 triggers a 3D Secure challenge that succeeds, while 4000 0000 0000 3063 triggers a challenge you can fail or abandon. The Testing docs also cover Radar rules, disputes, and refunds with matching test values.
Can I test without entering a card number at all?
Yes, in some flows. Stripe test helpers and the Stripe CLI let you create PaymentIntents and attach test payment methods by token. For most checkout testing, though, the plain card numbers are faster to type.
Why should I never use real card numbers in testing?
Storing or transmitting real cardholder data in a test environment breaks PCI DSS and exposes you to fines and card network penalties. Test cards carry no real account and no risk. If you need realistic data, generate it from Stripe's documented test values.