Test cards
Use the test card details on this page to simulate various payments. Enter any future expiry date (MM/YY
) when making your request.
Warning
Genuine card numbers will produce an error in your test environment.
Credit cards
Card scheme | Issuing country | Number | CVV | 3D Secure version supported |
---|---|---|---|---|
Visa | - |
|
| 3DS2 |
Visa | - |
|
| 3DS2 |
Visa | Spain |
|
| 3DS2 |
Visa | Australia |
|
| 3DS2 |
Mastercard | - |
|
| 3DS2 |
Mastercard | - |
|
| 3DS2 |
Mastercard | - |
|
| 3DS2 |
Mastercard | Spain |
|
| 3DS2 |
Mastercard | Australia |
|
| 3DS2 |
Amex | - |
|
| 3DS2 |
Amex | - |
|
| 3DS1 |
DinersClub | - |
|
| 3DS1 |
Discover | - |
|
| 3DS1 |
JCB | - |
|
| 3DS1 |
Debit cards
Card scheme | Number | CVV | 3D Secure version supported |
---|---|---|---|
Visa |
|
| 3DS2 |
Mastercard |
|
| 3DS2 |
Commercial cards
Card scheme | Number | CVV | 3D Secure version supported |
---|---|---|---|
Visa |
|
| 3DS1 |
Mastercard |
|
| 3DS1 |
Prepaid cards
Card scheme | Number | CVV | 3D Secure version supported |
---|---|---|---|
Visa |
|
| 3DS2 |
Test 3D Secure
When simulating a 3D Secure (3DS) payment, you will receive a redirect URL to a 3DS Authentication simulator page. The password for the 3DS simulator is Checkout1!
.
By default, the simulator will return a successful authentication response. If you want to test a different flow or transaction status, use one of the card numbers below in your authentication request. You can use any valid CVV and any future expiry date (mm/yy), unless otherwise stated.
Information
Test cards default to 3DS2 in the sandbox environment.
3DS2 frictionless flow
Description | Card number | CVV | Card scheme |
---|---|---|---|
Authentication successful |
|
| Visa |
| | Visa | |
|
| Mastercard | |
|
| Mastercard | |
|
| Mastercard | |
|
| Amex | |
Not authenticated |
| Any | Visa |
| Any | Mastercard | |
Authentication could not be performed |
| Any | Visa |
| Any | Mastercard | |
Attempted authentication |
|
| Visa |
| Any | Mastercard | |
Authentication rejected |
| Any | Visa |
| Any | Mastercard | |
Card not enrolled |
|
| Visa |
|
| Mastercard | |
Error message during scheme communication |
| Any | Visa |
| Any | Mastercard |
3DS2 challenge flow
Description | Card number | CVV | Card scheme |
---|---|---|---|
Authentication successful |
|
| Visa |
|
| Mastercard | |
Authentication attempted |
|
| Visa |
|
| Mastercard | |
Authentication rejected |
| Any | Visa |
| Any | Mastercard | |
Not authenticated |
| Any | Visa |
| Any | Mastercard | |
Authentication could not be performed |
| Any | Visa |
| Any | Mastercard | |
Error message during scheme communication |
| Any | Visa |
| Any | Mastercard |
Non-3D Secure enabled cards
The type of test key you use in your request will return a different response. Make the request to sandbox (https://api.sandbox.checkout.com
) and not the live version of the API. The keys used in your request should come from the sandbox version of the Hub.
When you use a non-3D Secure enabled card to make a payment request, include "3ds.enabled": true
in your request to test the response.
- If you have used a standard test key (
sk_test_
), you will receive a20150 - Card not 3D Secure (3DS) enabled
response. - If your test key is set to live mode (
sk_
without the wordtest
), you will receive a20153
response.
Card scheme | Number | CVV |
---|---|---|
Visa |
|
|
Mastercard |
|
|
3DS2 fallback to 3DS1 flow
Description | Card number | CVV | Card scheme |
---|---|---|---|
Card not enrolled |
|
| Visa |
|
| Mastercard |