Adyen Test Cards API logo

Adyen Test Cards API

Adyen Test Cards API

Adyen Test Card Service API generates test card numbers for sandbox payment testing — covers various issuer response scenarios.

Visit site ↗Health checked 9h ago
Use it when

Covers diverse issuer responses (approved, declined, 3DS challenge)

Watch for

Sandbox-only

First check

Register an Adyen test account; use the published static test card numbers (e.g. 4111111111111111 for approved) or call the API to dynamically generate.

Auth
CORS
No
HTTPS
Yes
Signup
?
Latency
179 ms
Protocol
REST
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 179ms
01

About this API

All payment processors provide test cards; Adyen is no exception. Test Card Service lets you trigger various scenarios in sandbox with different card numbers: successful authorization, various failures (insufficient funds, card lost, suspected fraud), forced 3DS challenge, partial capture, full refund, etc. Developers use these test cards in e2e tests to ensure their payment integration handles all issuer-response scenarios correctly. Adyen also provides "magic amounts" — e.g. amount 11 = declined, amount 22 = 3DS challenge — so you don't have to switch card numbers each time.

02

What you can build

  • 1Run end-to-end payment tests in CI/CD
  • 2Test 3DS authorization flows
  • 3Test authorization failure / fraud / refund scenarios
  • 4QA acceptance testing
03

Strengths & limitations

Strengths

  • Covers diverse issuer responses (approved, declined, 3DS challenge)
  • Free + unlimited (sandbox environment)
  • Bundled with Adyen test merchant account

Limitations

  • Sandbox-only
  • Cannot fully test hardware POS flows (need physical test terminals)
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://www.adyen.help/hc/en-us/community/topics/<endpoint>
05

Getting started

Register an Adyen test account; use the published static test card numbers (e.g. 4111111111111111 for approved) or call the API to dynamically generate.

06

FAQ

Can test cards be used in production?+

No — test cards only work in sandbox (test.adyen.com); production rejects them.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
Auth type
unknown
Pricing
unknown
Protocols
REST
SDKs
javascript, java, python
Response time
179 ms
Last health check
5/12/2026, 7:36:32 AM
08

Tags

09

More from Adyen