Test card numbers for Stripe, Adyen and Braintree, including 3-D Secure

Updated 2026-11-23 · by Bob, payments QA engineer

Every payment provider publishes test card numbers for its sandbox. They pass the Luhn check, but they are not linked to any bank account: they only work in the provider's test mode and are refused everywhere else. This guide collects the numbers QA engineers and developers use most, with the scenario each one triggers.

Important: these numbers cannot pay for anything. Providers update their lists, so check the linked official docs before you rely on a number in automated tests. For random Luhn-valid numbers by brand (for form validation tests), use the card generator; the full searchable list is on the test cards page.

Stripe

Use any future expiry date and any security code (4 digits for Amex). Source: Stripe testing docs.

NumberResult
4242 4242 4242 4242Visa, success
5555 5555 5555 4444Mastercard, success
3782 822463 10005American Express, success
4000 0000 0000 0002Generic decline (card_declined)
4000 0000 0000 9995Decline: insufficient funds
4000 0000 0000 0069Decline: expired card
4000 0000 0000 0127Decline: incorrect security code
4000 0025 0000 3155Requires 3-D Secure authentication (unless the card is already set up for off-session use)
4000 0000 0000 32203-D Secure 2 authentication always required

Adyen

Unless stated otherwise: expiry 03/2030, security code 737 (Amex: 7373). Source: Adyen test card numbers.

NumberResult
4111 1111 4555 1142Visa Classic (NL), success; security code optional
4111 1111 1111 1111Visa Consumer, success
3700 0000 0000 002American Express, security code 7373
4917 6100 0000 0000Visa, 3-D Secure 2 challenge
5454 5454 5454 5454Mastercard, 3-D Secure 2

Adyen triggers many refusal reasons through the cardholder name rather than the card number; see its "test result codes" page.

Braintree

Any future expiry date and any security code. Source: Braintree testing reference.

Number / amountResult
4111 1111 1111 1111Visa, success
5555 5555 5555 4444Mastercard, success
3782 822463 10005American Express, success
6011 1111 1111 1117Discover, success
Amount 2000.00–2999.99Processor decline; the response code equals the amount

How to test 3-D Secure properly

Checklist for a payment integration test

  1. Success for each brand you accept (Visa, Mastercard, Amex, local schemes).
  2. Hard decline and soft decline; the customer sees a clear message (see decline codes explained).
  3. 3-D Secure: frictionless, challenge success, challenge fail.
  4. Refund, partial refund, void or cancel.
  5. Webhooks arrive, have valid signatures (see how to verify webhook signatures) and are handled idempotently.
  6. Card number field: Luhn validation, spaces, paste. Use the card validator and BIN checker.

FAQ

Can I use these numbers on a real website?

No. They are refused by real issuers. They exist only for sandbox testing.

Why does a test card work in Stripe but not in Adyen?

Each provider recognises only its own test numbers in its own test environment. Some numbers, such as 4111 1111 1111 1111, are shared by convention, but the behaviour (success, decline, 3DS) is defined by each provider.

Are generated card numbers the same as test cards?

No. A generator creates random Luhn-valid numbers for testing form validation. Sandbox test cards are specific numbers that a provider maps to specific results.

← All guides