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 NumberBrandNotes
4242 4242 4242 4242VisaThe standard success card
5555 5555 5555 4444MastercardStandard success
3782 822463 10005American Express4-digit CVC required
6011 1111 1111 1117DiscoverStandard success
3056 9300 0902 0004Diners ClubStandard success
3566 0020 2036 0505JCBStandard success
6200 0000 0000 0005UnionPayStandard success

Decline & Error Test Cards

Card NumberDecline CodeWhat It Triggers
4000 0000 0000 0002generic_declineGeneric decline, no specific reason
4000 0000 0000 9995insufficient_fundsInsufficient funds decline
4000 0000 0000 9987lost_cardCard reported lost
4000 0000 0000 9979stolen_cardCard reported stolen
4000 0000 0000 0069expired_cardCard expired
4000 0000 0000 0127incorrect_cvcCVC check fails
4000 0000 0000 0119processing_errorProcessor-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 NumberBehavior
4000 0000 0000 3220Requires 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.