Stripe Test Card Numbers
This page lists the official test card numbers Stripe publishes for its test mode. They only work with Stripe test/sandbox API keys — never live keys — and with all of them any future expiry date, any 3-digit CVC (4-digit for American Express) and any postal code works unless otherwise noted.
Need randomly generated test cards for general form testing instead? Try our free Credit Card Number Generator →
Advertisement
This section requires ad-tracking consent.
Successful Payment Test Cards
| Card Number | Brand | Notes |
|---|---|---|
| 4242 4242 4242 4242 | Visa | The standard success card |
| 5555 5555 5555 4444 | Mastercard | Standard success |
| 3782 822463 10005 | American Express | 4-digit CVC required |
| 6011 1111 1111 1117 | Discover | Standard success |
| 3056 9300 0902 0004 | Diners Club | Standard success |
| 3566 0020 2036 0505 | JCB | Standard success |
| 6200 0000 0000 0005 | UnionPay | Standard success |
Decline & Error Test Cards
| Card Number | Decline Code | What It Triggers |
|---|---|---|
| 4000 0000 0000 0002 | generic_decline | Generic decline, no specific reason |
| 4000 0000 0000 9995 | insufficient_funds | Insufficient funds decline |
| 4000 0000 0000 9987 | lost_card | Card reported lost |
| 4000 0000 0000 9979 | stolen_card | Card reported stolen |
| 4000 0000 0000 0069 | expired_card | Card expired |
| 4000 0000 0000 0127 | incorrect_cvc | CVC check fails |
| 4000 0000 0000 0119 | processing_error | Processor-side error |
| 4242 4242 4242 4241 | (fails Luhn) | Fails validation before reaching Stripe |
3D Secure Test Cards
3D Secure (3DS) adds an authentication step — the cardholder is asked to verify the payment, typically in a bank app or by SMS. In Stripe test mode, specific card numbers simulate that flow so you can test how your integration handles authentication challenges without real money involved.
| Card Number | Behavior |
|---|---|
| 4000 0000 0000 3220 | Requires 3D Secure authentication to succeed |
How These Differ From Our Card Generator
MockPayCard's own card generator produces randomly generated, Luhn-valid numbers that are useful for testing general form validation, UI states and Luhn-check logic on any site. They are not tied to any payment processor and no processor will recognize them.
The Stripe-specific numbers on this page are different: they only work inside Stripe's own sandbox, where each number simulates a specific real-world outcome — a successful charge, a particular decline code, a 3D Secure challenge. Use Stripe's numbers when testing an actual Stripe integration; use our generator for general-purpose form and UI testing.
FAQ
No. They only function in Stripe test mode with test API keys (the ones starting with sk_test_ / pk_test_). No real account is ever debited or credited, and no charge can occur outside Stripe's sandbox.