API Reference

Testing - Adyen

The following link is to Adyen's documentation for testing payments:

CP Testing

https://docs.adyen.com/point-of-sale/testing-pos-payments

Testing CP responses

If you'd like to test card present responses using the blue / green cards from Adyen, you can get certain results by setting the amount of the payment.

Payment AmountPayment Result
xxx1.21CANCELLED
xxx1.22ACQUIRER_FRAUD
xxx1.23DECLINED
xxx1.24NOT_ENOUGH_BALANCE
xxx1.25BLOCKED_CARD
xxx1.26EXPIRED_CARD
xxx1.27INVALID_AMOUNT
xxx1.28INVALID_CARD_NUMBER
xxx1.29NOT_SUPPORTED
xxx1.30ACQUIRER_ERROR
xxx1.31REFUSED
xxx1.32REFUSED
xxx1.33REFERRAL
xxx1.34INVALID_PIN
xxx1.35PIN_TRIES_EXCEEDED
xxx1.36ISSUER_UNAVAILABLE
xxx1.37WITHDRAWAL_AMOUNT_EXCEEDED
xxx1.38WITHDRAWAL_COUNT_EXCEEDED
xxx1.39NOT_ENOUGH_BALANCE
xxx1.44NOT_SUBMITTED
xxx1.45FRAUD_CANCELLED
xxx1.46TRANSACTION_NOT_PERMITTED
xxx1.47CVC_DECLINED
xxx1.48RESTRICTED_CARD
xxx1.49REVOCATION_OF_AUTH
xxx1.50DECLINED_NON_GENERIC
xxx1.51ISSUER_SUSPECTED_FRAUD
xxx1.52NO_CHECKING_ACCOUNT_AVAILABLE_ON_CARD
xxx1.53NO_SAVINGS_ACCOUNT_AVAILABLE_ON_CARD
xxx1.56CARD_REQUIRES_ONLINE_PIN
xxx1.57AUTHENTICATION_REQUIRED
xxx1.58CURRENT_AID_IS_IN_PENALTY_BOX.
xxx1.59ONLINE_PIN_REQUIRED
xxx1.60TRY_ANOTHER_INTERFACE
xxx1.61CHIP_DOWNGRADE_MODE

CNP Testing

https://docs.adyen.com/development-resources/testing/test-card-numbers

The following card numbers, with their expiration dates and CVV values have been activated for testing. By default all Adyen test card numbers will be reported as FRAUD until they have been approved for testing.

TypeCard NumberExpirationCVVPostal Code
Visa Consumer NL4111 1111 1111 111103/2030737
Visa Credit US4151 5000 0000 000803/30737
Visa with AVS Zip Match4400 0000 0000 000803/3073795014
MC5100 0600 0000 000212/29737
Amex NL3700 0000 0000 00203/307373
Amex US with AVS Zip Match3742 5101 8720 01803/30737320500
Diners NL3607 0500 0010 2003/30737

Testing CNP responses

You can pass specific values for the card holder name and this will generate specific responses.

Cardholder NamePayment Result
DECLINEDDECLINED
FRAUDFRAUD
CARD_EXPIREDCARD_EXPIRED