Test cards
Card numbers that produce a known outcome in test mode, and the checkout panel that fills them in.
In test mode, real-looking card numbers produce scripted outcomes: approve, decline, or ask the payer to verify with their bank (3-D Secure). No money moves. Use them with your ak_test_ keys only.
Every card uses expiry 01/29. Any CVV works: 3 digits, or 4 for Amex.
Start here
Four cards cover what most integrations need to see.
| Card | What happens | Result |
|---|---|---|
4000 1000 0000 0000 | Payment succeeds | Approved |
4000 0000 0000 2503 | Bank asks for verification, then approves | Approved |
4000 0000 0000 2370 | Bank asks for verification, then declines | Declined |
4000 0000 0000 2925 | Payment is declined | Declined |
When the bank asks for verification, the hosted page shows the bank's challenge screen. In test mode it is a sandbox screen; submit it and the card decides the result.
Approved ends with the Payment Intent succeeded, or requires_capture if you capture manually. Declined leaves it in requires_payment_method with last_payment_error set, and the payer can try another card. See Declines & card testing for the error shape.
All cards
Grouped by what the payer sees. The 3DS column is the raw result your support team will see on the payment: Y authenticated, A attempted, N not authenticated, R rejected, U unavailable, B bypassed.
Succeeds
| Card | Brand | What happens | 3DS | Result |
|---|---|---|---|---|
4000 1000 0000 0000 | Visa | Payment succeeds | Y, no challenge, ECI 05 | Approved, verified |
4000 0000 0000 2719 | Visa | Bank isn't enrolled, payment succeeds | A, ECI 06 | Approved, verified |
5200 0000 0000 2482 | Mastercard | Bank isn't enrolled, payment succeeds | A, ECI 01 | Approved, verified |
3400 000000 02872 | Amex | Bank isn't enrolled, payment succeeds | A, ECI 06 | Approved, verified |
Bank asks for verification
| Card | Brand | What happens | 3DS | Result |
|---|---|---|---|---|
4000 0000 0000 2503 | Visa | Bank asks for verification, then approves | Challenge, then Y, ECI 05 | Approved, verified |
5200 0000 0000 2151 | Mastercard | Bank asks for verification, then approves | Challenge, then Y, ECI 02 | Approved, verified |
3400 000000 02534 | Amex | Bank asks for verification, then approves | Challenge, then Y, ECI 05 | Approved, verified |
4000 0000 0000 2370 | Visa | Bank asks for verification, then declines | Challenge, then N | Declined |
4000 0000 0000 2420 | Visa | Verification can't finish, payment goes through | Challenge, then U, ECI 07 | Approved |
4000 0000 0000 2644 | Visa | Verification fails with an error | Challenge, then U, error 476 | Declined |
Declined
| Card | Brand | What happens | 3DS | Result |
|---|---|---|---|---|
4000 0000 0000 2925 | Visa | Payment is declined | N | Declined |
5200 0000 0000 2276 | Mastercard | Payment is declined | N, ECI 00 | Declined |
3400 000000 02096 | Amex | Payment is declined | N, ECI 07 | Declined |
4000 0000 0000 2537 | Visa | Bank rejects the payment | R | Declined |
Verification unavailable
| Card | Brand | What happens | 3DS | Result |
|---|---|---|---|---|
4000 0000 0000 2313 | Visa | Bank can't verify, payment goes through | U, ECI 07 | Approved |
4000 0000 0000 2990 | Visa | Card network can't verify, payment goes through | Enrollment U, directory server error | Approved |
4000 0000 0000 2446 | Visa | Enrollment check fails, payment goes through | Enrollment U, processing error | Approved |
4000 0000 0000 2354 | Visa | Verification times out, payment goes through | Enrollment U, directory server timeout | Approved |
4000 0000 0000 2560 | Visa | Verification is skipped, payment goes through | Enrollment B, bypassed | Approved |
Approved, verified means the bank confirmed the payer, so fraud chargeback liability moves to the card issuer. Approved alone means the payment went through without that confirmation.
The test cards panel on checkout
Test-mode checkout pages carry a Test cards tab on the right edge. Open it and tap a card:
- The card number is copied to your clipboard. Paste it into the card field; card fields are hosted securely and can't be filled for you.
- Name, email, phone, and billing address are filled in. The payer name is the test case, for example "Payment succeeds Visa Test", so you can find the payment in your dashboard later.
The panel has two tabs. Basics lists the four cards above. All cards lists every card with its 3DS result. The panel opens on Basics; All cards is one tab away.
The panel only appears when the session is in test mode and its card form supports these numbers. Live sessions never show it.
Repeated declines on one Payment Intent lock it (422 CARD_BLOCKED), in test mode too. If you run the decline cards back to back, create a fresh Checkout Session for each run.