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/2030 and 737, or 7373 for American Express. A few cards list a different expiry (some China UnionPay cards use 10/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 /payments from your server before your front end is ready, prefix each test value with test_, 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.

BrandCard numberCard type and countryExpirySecurity code
Visa4111111111111111Consumer, NL03/2030737
Visa4111111145551142Classic, NL (security code optional)03/2030737
Visa4400000000000008Debit, US03/2030737
Visa4000020000000000Credit, US03/2030737
Mastercard5555555555554444Credit, GB03/2030737
Mastercard2222400010000008Credit, CA (2-series)03/2030737
Mastercard5555341244441115Consumer, NL (security code optional)03/2030737
Mastercard2223520443560010Debit, NL03/2030737
American Express370000000000002NL03/20307373
Discover6011601160116611US03/2030737
Diners36006666333344US03/2030737
JCB3569990010095841Consumer, US03/2030737
Maestro6771798021000008US (3D Secure required)03/2030737
China UnionPay8171999927660000ExpressPay credit, CN10/2030737
Cartes Bancaires4360000001000005FR03/2030737
Bancontact6703444444444449Bancontact / Maestro, BE03/2030none
Dankort5019555544445555DK03/2030737
Eftpos4089670000000014AU03/2030737
Elo5066991111111118BR03/2030737
Hipercard6062828888666688BR03/2030737
UATP135410014004955—03/2030none

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: 4017340000000003 is issued in Russia, and because Adyen doesn't process transactions there, it returns 907 - 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}.
refusalReasonresultCodeholderNameResponse code
RefusedRefusedDECLINED2
ReferralRefusedREFERRAL3
Acquirer ErrorErrorERROR4
Blocked CardRefusedBLOCK_CARD5
Expired CardRefusedCARD_EXPIRED6
Invalid AmountRefusedINVALID_AMOUNT7
Invalid Card NumberRefusedINVALID_CARD_NUMBER8
Issuer UnavailableRefusedISSUER_UNAVAILABLE9
Not supportedRefusedNOT_SUPPORTED10
3D Not AuthenticatedRefusedNOT_3D_AUTHENTICATED11
Not enough balanceRefusedNOT_ENOUGH_BALANCE12
— (pending)ReceivedPENDING13
Acquirer FraudRefusedACQUIRER_FRAUD14
CancelledRefusedCANCELLED15
Shopper CancelledRefusedSHOPPER_CANCELLED16
FRAUDRefusedFRAUD20
FRAUD-CANCELLEDCancelledFRAUD_CANCELLED22
Transaction Not PermittedRefusedTRANSACTION_NOT_PERMITTED23
CVC DeclinedRefusedCVC_DECLINED24
Restricted CardRefusedRESTRICTED_CARD25
Revocation Of AuthRefusedREVOCATION_OF_AUTH26
Declined Non GenericRefusedDECLINED_NON_GENERIC27
Withdrawal amount exceededRefusedWITHDRAWAL_AMOUNT_EXCEEDED28
Withdrawal count exceededRefusedWITHDRAWAL_COUNT_EXCEEDED29
Issuer Suspected FraudRefusedISSUER_SUSPECTED_FRAUD31
AVS DeclinedRefusedAVS_DECLINED32
Authentication requiredRefusedAUTHENTICATION_REQUIRED38
3DS Authentication ErrorRefusedTHREED_SECURE_AUTHENTICATION_ERROR42
Transaction blocked by Adyen to prevent excessive retry feesRefusedERPS_BLOCK46

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 typeCard numberExpirySecurity code
American Express37144963539843103/20307373
Bancontact / Maestro670344444444444903/2030not applicable
Bancontact / Visa487104999999991003/2030737
Cartes Bancaires / Visa Debit403550142814630003/2030737
Cartes Bancaires436000000100000503/2030737
China UnionPay (credit)625094700000001403/2030123
China UnionPay (debit)625094600000001603/2030123
Diners3056930902590403/2030737
Discover601111111111111703/2030737
JCB / Mastercard356611111111111303/2030737
Maestro500055000000002903/2030not applicable
Mastercard545454545454545403/2030737
Mastercard Credit222240001000000803/2030737
Visa491761000000000003/2030737
Visa Classic416667666766674603/2030737

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.

Mastercard cards for specific authentication responses (ARes transStatus)
transStatusCard numberMeaning
Y5201281505129736Authentication successful
N5201281262435268Not authenticated; transaction denied
A5201285093823592Authentication attempted but couldn't be verified
U5201282828366351Authentication couldn't be performed
U with transStatusReason 065201284670717533Authentication couldn't be performed, with a reason
R5201286496816589Rejected 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:

TestWhat to doWebhook to expect
Manual captureCapture the full 100.CAPTURE
Partial captureCapture less than 100; the rest is cancelled automatically.CAPTURE
CancelCancel a payment set for manual or delayed automatic capture.CANCELLATION
Full or partial refundRefund all of the 100, or part of it.REFUND
ReversalReverse using the original payment's PSP reference.CANCEL_OR_REFUND
Authorisation adjustmentPre-authorise 100, then adjust to 175 (cards and Klarna only).ADJUST_AUTHORISATION
Failed capturePay with holderName capture failed, then capture.CAPTURE_FAILED
Failed refundPay 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 successful CAPTURE or REFUND webhook. 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 numberBrandHouse numberStreet and cityPostal codeCountry
5555555555554444Mastercard10Downing Street, LondonSW1A 2AAGB
4400000000000008Visa1Infinite Loop, Cupertino, CA95014US
4444333322221111Visa8-10Broadway, Westminster, LondonSW1H 0BGGB
374251018720018Amex1600Pennsylvania Ave NW, Washington, DC20500US

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:

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

  1. Adyen: Test card numbers
  2. Adyen: Testing result codes and refusal reasons
  3. Adyen: Testing 3D Secure 2 authentication
  4. Adyen: Testing payments and modifications
  5. Adyen: Testing risk features