Reference guide
Adyen Test Cards: Card Numbers, Refusal Triggers and 3D Secure
The card numbers Adyen gives you for its test platform, how to make a payment come back refused with a specific reason, which cards drive each 3D Secure 2 outcome, and how to make captures and refunds fail on purpose.
Checked against Adyen’s test card numbers page on . Adyen adds and retires test cards; confirm a number there before you depend on it.
How to use Adyen test cards
Adyen's test cards only work on Adyen's test platform: your test Customer Area, a test API key and the test endpoints. They don't work on other platforms, and no money moves. Two things differ from Stripe and PayPal:
- Use the expiry date and security code listed with the card. For almost every card that's
03/2030and737, or7373for American Express. A few cards list a different expiry (some China UnionPay cards use10/2030), and cards marked "security code optional" can be sent without one. - Card details are encrypted client-side. Drop-in and Components encrypt what the shopper types. To call
/paymentsfrom your server before your front end is ready, prefix each test value withtest_, for example"encryptedCardNumber": "test_5555555555554444","encryptedExpiryMonth": "test_03","encryptedExpiryYear": "test_2030"and"encryptedSecurityCode": "test_737", with"type": "scheme".
If you use RevenueProtect, Adyen's risk rules can block test payments that look fraudulent. Adyen suggests adding the test card and shopper details to a trust list while you test.
Adyen also publishes an Adyen Test Cards browser extension for Chrome and an Android app that fill these cards into a Web or Android Drop-in or Components checkout. In-person payments use physical test cards with test terminals instead; see Adyen's point-of-sale testing docs.
Adyen test card numbers by brand
These authorise on the test platform. Adyen lists more than one card for most brands, varying by card type and issuing country; this is one or two per brand.
| Brand | Card number | Card type and country | Expiry | Security code |
|---|---|---|---|---|
| Visa | 4111111111111111 | Consumer, NL | 03/2030 | 737 |
| Visa | 4111111145551142 | Classic, NL (security code optional) | 03/2030 | 737 |
| Visa | 4400000000000008 | Debit, US | 03/2030 | 737 |
| Visa | 4000020000000000 | Credit, US | 03/2030 | 737 |
| Mastercard | 5555555555554444 | Credit, GB | 03/2030 | 737 |
| Mastercard | 2222400010000008 | Credit, CA (2-series) | 03/2030 | 737 |
| Mastercard | 5555341244441115 | Consumer, NL (security code optional) | 03/2030 | 737 |
| Mastercard | 2223520443560010 | Debit, NL | 03/2030 | 737 |
| American Express | 370000000000002 | NL | 03/2030 | 7373 |
| Discover | 6011601160116611 | US | 03/2030 | 737 |
| Diners | 36006666333344 | US | 03/2030 | 737 |
| JCB | 3569990010095841 | Consumer, US | 03/2030 | 737 |
| Maestro | 6771798021000008 | US (3D Secure required) | 03/2030 | 737 |
| China UnionPay | 8171999927660000 | ExpressPay credit, CN | 10/2030 | 737 |
| Cartes Bancaires | 4360000001000005 | FR | 03/2030 | 737 |
| Bancontact | 6703444444444449 | Bancontact / Maestro, BE | 03/2030 | none |
| Dankort | 5019555544445555 | DK | 03/2030 | 737 |
| Eftpos | 4089670000000014 | AU | 03/2030 | 737 |
| Elo | 5066991111111118 | BR | 03/2030 | 737 |
| Hipercard | 6062828888666688 | BR | 03/2030 | 737 |
| UATP | 135410014004955 | — | 03/2030 | none |
Bancontact cards also ask for a username and password on the test platform: user and password. China UnionPay asks for an SMS code: 123456 on mobile, 111111 on desktop. For online Maestro payments 3D Secure is mandatory, so pair the Maestro card with the 3D Secure section below.
To test US debit routing, Adyen lists cards that carry a second network, such as 4400002000000004 (Visa Debit / Accel / STAR / Maestro USA) and 5413330033003303 (Mastercard Debit / PULSE / NYCE). The full list by brand, including commercial, fleet, premium and prepaid cards in other countries, is on Adyen's test card numbers page.
One card on Adyen's list is always refused:4017340000000003is issued in Russia, and because Adyen doesn't process transactions there, it returns907 - Payment details are not supported for this country/ MCC combination. Don't use it as a success card.
Refused payments: triggering a refusal reason
Adyen has no separate card per decline reason. Pay with any test card and set one of these fields in the /payments request to the value for the result you want:
paymentMethod.holderName: the cardholder name, for example"holderName": "CARD_EXPIRED". In a checkout form, type it into the name field.additionalData.RequestedTestAcquirerResponseCode: the number, for example"additionalData": {"RequestedTestAcquirerResponseCode": 6}.
| refusalReason | resultCode | holderName | Response code |
|---|---|---|---|
| Refused | Refused | DECLINED | 2 |
| Referral | Refused | REFERRAL | 3 |
| Acquirer Error | Error | ERROR | 4 |
| Blocked Card | Refused | BLOCK_CARD | 5 |
| Expired Card | Refused | CARD_EXPIRED | 6 |
| Invalid Amount | Refused | INVALID_AMOUNT | 7 |
| Invalid Card Number | Refused | INVALID_CARD_NUMBER | 8 |
| Issuer Unavailable | Refused | ISSUER_UNAVAILABLE | 9 |
| Not supported | Refused | NOT_SUPPORTED | 10 |
| 3D Not Authenticated | Refused | NOT_3D_AUTHENTICATED | 11 |
| Not enough balance | Refused | NOT_ENOUGH_BALANCE | 12 |
| — (pending) | Received | PENDING | 13 |
| Acquirer Fraud | Refused | ACQUIRER_FRAUD | 14 |
| Cancelled | Refused | CANCELLED | 15 |
| Shopper Cancelled | Refused | SHOPPER_CANCELLED | 16 |
| FRAUD | Refused | FRAUD | 20 |
| FRAUD-CANCELLED | Cancelled | FRAUD_CANCELLED | 22 |
| Transaction Not Permitted | Refused | TRANSACTION_NOT_PERMITTED | 23 |
| CVC Declined | Refused | CVC_DECLINED | 24 |
| Restricted Card | Refused | RESTRICTED_CARD | 25 |
| Revocation Of Auth | Refused | REVOCATION_OF_AUTH | 26 |
| Declined Non Generic | Refused | DECLINED_NON_GENERIC | 27 |
| Withdrawal amount exceeded | Refused | WITHDRAWAL_AMOUNT_EXCEEDED | 28 |
| Withdrawal count exceeded | Refused | WITHDRAWAL_COUNT_EXCEEDED | 29 |
| Issuer Suspected Fraud | Refused | ISSUER_SUSPECTED_FRAUD | 31 |
| AVS Declined | Refused | AVS_DECLINED | 32 |
| Authentication required | Refused | AUTHENTICATION_REQUIRED | 38 |
| 3DS Authentication Error | Refused | THREED_SECURE_AUTHENTICATION_ERROR | 42 |
| Transaction blocked by Adyen to prevent excessive retry fees | Refused | ERPS_BLOCK | 46 |
APPROVED (1) gives Authorised and UNKNOWN (0) gives Error. Adyen's table also has PIN and chip reasons (INVALID_PIN, PIN_TRIES_EXCEEDED, CONTACTLESS_FALLBACK and others) that matter for in-person payments; they're on its result codes testing page.
Payment methods that redirect to a simulator where you pick the outcome (Alipay, for example) ignore the holderName value. For those, choose the result in the simulator.
3D Secure 2 test cards and passwords
If you use Dynamic 3D Secure with a default rule of Prefer Not, a test payment may skip authentication. To force it, set the default rule to Always, send authenticationData.attemptAuthentication, or use an amount that triggers authentication. When the challenge asks for a password:
- Web and mobile browser integrations:
password. - Native mobile (app-based) integrations:
1234. - Any other value fails the challenge, which is how you test a failed authentication.
| Card type | Card number | Expiry | Security code |
|---|---|---|---|
| American Express | 371449635398431 | 03/2030 | 7373 |
| Bancontact / Maestro | 6703444444444449 | 03/2030 | not applicable |
| Bancontact / Visa | 4871049999999910 | 03/2030 | 737 |
| Cartes Bancaires / Visa Debit | 4035501428146300 | 03/2030 | 737 |
| Cartes Bancaires | 4360000001000005 | 03/2030 | 737 |
| China UnionPay (credit) | 6250947000000014 | 03/2030 | 123 |
| China UnionPay (debit) | 6250946000000016 | 03/2030 | 123 |
| Diners | 30569309025904 | 03/2030 | 737 |
| Discover | 6011111111111117 | 03/2030 | 737 |
| JCB / Mastercard | 3566111111111113 | 03/2030 | 737 |
| Maestro | 5000550000000029 | 03/2030 | not applicable |
| Mastercard | 5454545454545454 | 03/2030 | 737 |
| Mastercard Credit | 2222400010000008 | 03/2030 | 737 |
| Visa | 4917610000000000 | 03/2030 | 737 |
| Visa Classic | 4166676667666746 | 03/2030 | 737 |
With these cards the /payments response carries RedirectShopper for Redirect authentication or IdentifyShopper for Native authentication, then ChallengeShopper once you submit the device fingerprint, unless the flow is frictionless. If you use the Advanced flow (not Sessions), Adyen gives two more cards: 4212345678910006 (Visa) for a payment that returns a ChallengeShopper action to handle, and 5201281505129736 (Mastercard) for a frictionless payment that only needs the device fingerprint.
| transStatus | Card number | Meaning |
|---|---|---|
Y | 5201281505129736 | Authentication successful |
N | 5201281262435268 | Not authenticated; transaction denied |
A | 5201285093823592 | Authentication attempted but couldn't be verified |
U | 5201282828366351 | Authentication couldn't be performed |
U with transStatusReason 06 | 5201284670717533 | Authentication couldn't be performed, with a reason |
R | 5201286496816589 | Rejected by the issuer |
All of these use 03/2030 and 737. Adyen also lists Mastercard cards for 3DS errors (timeout, connection failure, unsupported version, access denied, invalid MCC, invalid endpoint), app challenge types (text, single select, multi select, out-of-band) and Visa cards for broken ACS responses, on its 3D Secure 2 testing page. For the standalone authentication flow, 4917610000000000 with the challenge password NoLiabilityShift authenticates without liability shift, and the outcome arrives in an AUTHENTICATION webhook instead of AUTHORISATION.
Testing captures, refunds and their failures
Adyen recommends starting each test with a payment of amount 100, then running each modification against it and waiting for its webhook:
| Test | What to do | Webhook to expect |
|---|---|---|
| Manual capture | Capture the full 100. | CAPTURE |
| Partial capture | Capture less than 100; the rest is cancelled automatically. | CAPTURE |
| Cancel | Cancel a payment set for manual or delayed automatic capture. | CANCELLATION |
| Full or partial refund | Refund all of the 100, or part of it. | REFUND |
| Reversal | Reverse using the original payment's PSP reference. | CANCEL_OR_REFUND |
| Authorisation adjustment | Pre-authorise 100, then adjust to 175 (cards and Klarna only). | ADJUST_AUTHORISATION |
| Failed capture | Pay with holderName capture failed, then capture. | CAPTURE_FAILED |
| Failed refund | Pay with holderName refund failed, then refund. | REFUND_FAILED |
A failed capture or refund can take up to 24 hours to arrive on the test platform, after a successfulCAPTUREorREFUNDwebhook. Tests that assert on the failure need to wait for the webhook rather than a fixed delay.
Multiple partial captures have to be enabled by Adyen's support team before you can test them. For Level 2/3 data (also enabled by support), 4444333322221111 returns VGIS, 2222410740360010 returns L2 and 5555555555554444 returns L3.
AVS and Auto Rescue test values
To test the Address Verification System, send a billing address with the payment. Adyen pairs specific cards with specific addresses, for example:
| Card number | Brand | House number | Street and city | Postal code | Country |
|---|---|---|---|---|---|
5555555555554444 | Mastercard | 10 | Downing Street, London | SW1A 2AA | GB |
4400000000000008 | Visa | 1 | Infinite Loop, Cupertino, CA | 95014 | US |
4444333322221111 | Visa | 8-10 | Broadway, Westminster, London | SW1H 0BG | GB |
374251018720018 | Amex | 1600 | Pennsylvania Ave NW, Washington, DC | 20500 | US |
The AVS result comes back in the API response or the webhook for that PSP reference. For Auto Rescue (automatic retries of refused shopper-not-present payments, turned on in your test Customer Area), set merchantReference to AutoRescueSuccessfulFirst, AutoRescueSuccessfulSecond, AutoRescueFailed or AutoRescueFraud to drive each retry outcome. Every retry sends its own AUTHORISATION webhook.
What Adyen test cards don't cover
A test card and a holderName trigger decide how one payment ends. They don't hold the rest of your system in a known state:
- Most outcomes arrive by webhook, some of them hours later. Handlers have to cope with results that come late. Pinning payment simulator state so charge sequences reproduce identically covers why the first response isn't the result.
- Capture, refund, cancel and reversal are separate transitions with their own rules about what can follow. See enforcing charge-capture-refund sequencing in integration tests.
- Timeouts and 5xx responses from the gateway itself aren't something a test card produces. Fault injection testing for payment gateway timeouts and 503s shows how to test them.
Testing other providers as well? The equivalent lists are in Stripe test cards and PayPal test cards.
Frequently asked questions
What is the Adyen test card number?
Adyen publishes many. A common choice is the Visa 4111 1111 1111 1111 with expiry 03/2030 and CVC 737, or the Mastercard 5555 5555 5555 4444 with the same expiry and CVC. They only work on Adyen's test platform.
What expiry date and CVC do Adyen test cards use?
The ones listed with each card. For almost all of them that's 03/2030 and 737, or 7373 for American Express. A few cards list a different expiry, such as 10/2030 for some China UnionPay cards.
How do I make an Adyen test payment get refused?
Pay with any test card and set paymentMethod.holderName to the trigger for the reason you want, such as NOT_ENOUGH_BALANCE or CARD_EXPIRED, or set additionalData.RequestedTestAcquirerResponseCode to its number (12 or 6).
What is the Adyen 3D Secure test password?
password for web and mobile browser integrations, and 1234 for native app integrations. Enter anything else to fail the challenge.
Do Adyen test cards work in live mode?
No. Adyen says its test card numbers only work on its test platform, with a test account and test credentials.
Sources
Related in Payment Flow Testing
- Enforcing Charge-Capture-Refund Sequencing in Integration Tests Against a Stateful Payment Simulator
Stateful simulators enforce payment state machines that stateless mocks cannot test.
- Pinning Payment Simulator State so Charge Sequences Reproduce Identically Across CI Runs
Restoring a full simulator snapshot before each sequence makes payment tests repeatable.
- Fault Injection Testing for Payment Gateway Timeouts and 503s
Deliberate failures reveal whether retries and circuit breakers actually protect payment checkout.
- Comparing Stateful Payment Simulators to Sandbox APIs for Integration Testing Across Charge Lifecycles
Stateful simulators beat mocks and sandboxes for repeatable CI lifecycle tests.