Test Cards & Error Responses
Be Advised
The use of live card info in a test environment is strongly discouraged.
Sandbox Testing
The following list of test card numbers are examples of values that can be used during testing.
Test Cards - Approvals
Any expiration date in the future can be used
| Card Number |
|---|
| 4242424242424242 |
| 5555555555554444 |
| 378282246310005 |
| 6011111111111117 |
Test Cards - Declines
| Card Number | Result Message |
|---|---|
| 4005571702222222 | Decline |
| 5424180000005550 | Do not honor |
| 375987654000004 | Insufficient funds |
AVS
It is possible to trigger a variety of different AVS responses depending on the values supplied.
The default response code and message when no street or postal code is supplied is NA.
If a value for street is not supplied but a postal code is supplied, the response code returned will depend on the length of the postal code. If the postal code supplied is 5 digits, the code returned is Z. Otherwise, if the postal code supplied is 9 digits, the code returned is W.
If values for both street and postal code are supplied, the response code returned will depend on the value of the postal code. The possible values can be seen in the table below.
| Postal Code | Return Value | Return Message |
|---|---|---|
| 90009 | A | Street: Match & Postal code: No match |
| 90010 | B | Street: Match & Postal code: Not verified |
| 90011 | C | Street: Not verified & Postal code: Not verified |
| 90012 | D | Street: Match & Postal code: Match (international) |
| 90013 | F | Street: Match & Postal code: Match |
| 90014 | G | Not verified (international) |
| 90015 | I | Verification not performed (international) |
| 90016 | M | Street: Match & Postal code: Match (international) |
| 90017 | N | Street: No match & Postal code: No match |
| 90018 | P | Street: Not verified & Postal code: Match |
| 90019 | R | Retry - Upstream system unable to process |
| 90020 | S | Service not supported |
| 90021 | U | Information unavailable |
| 900220000 | W | Street: No match & 9-digit postal code: Match |
| 90023 | Z | Street: No match & 5-digit postal code: Match |
| Any other 5 digit code | Y | Street: Match & 5-digit postal code: Match |
| Any other 9 digit code | X | Street: Match & 9-digit postal code: Match |
CVV
It is possible to trigger a variety of CVV responses depending on the value supplied.
The default response code returned when a value is not supplied is NA.
Possible values and return codes can be seen in the table below.
| 3 Digit Value | 4 Digit Value | Return Code | Return Message |
|---|---|---|---|
| 801 | 8001 | N | No Match |
| 802 | 8002 | P | Not processed |
| 803 | 8003 | S | Should be on card but not provided |
| 804 | 8004 | U | Card issuer not certified and/or not participating |
| 805 | 8005 | X | Unknown |
| Any other value | Any other value | M | Match |