Use the following payment cards, IBANs, and ACH details to simulate different outcomes in the Rebilly sandbox environment when processing payments. These details do not generate real charges.
For payment cards, use a future expiration date, and any valid CVV. Amex cards have a 4 digit CVV, all others have a 3 digit CVV.
- A CVV of
000, or0000for Amex, results in a gateway response code "N7" with the message "Decline for CVV2 failure". For more information, see Simulate an issuer decline caused by invalid CVV. - The expiration date
10/2051triggers a test decline with expired/missing expiration error code. This expiration date is not valid and will result in a test decline. For more information, see Simulate an issuer decline caused by invalid expiration date.
The following test card numbers and IBAN simulate approved transactions.
| Card brand | Number | Country |
|---|---|---|
| Visa | 4111111111111111 | US |
| Visa | 4123400073320224 | DE |
| Visa | 4761229700150465 | AU |
| Visa | 4761209980011439 | NZ |
| Mastercard | 5555555555554444 | CA |
| Mastercard | 5204245250460049 | DE |
| American Express | 378282246310005 | US |
| Discover | 6011111111111117 | |
| Diners Club | 30569309025904 | |
| JCB | 3530111333300000 | JP |
| China UnionPay | 6253111111111114 | |
| Maestro | 6759641111111119 | |
| IBAN | DE89370400440532013000 | |
| ACH | Routing number: 123456789Account number: 1234567890 |
The following test card simulates an approved transaction but returns an expiration update set to the previous month, which makes the card expired.
| Card brand | Number | Description |
|---|---|---|
| Visa | 4000000000000051 | Approved with expiration updated to previous month (expired) |
To simulate an approved transaction using a special amount in the sandbox environment, use 71.00. This is useful for methods like Apple Pay, where the DPAN cannot be controlled.
The following test card numbers simulate declined transactions.
| Card brand | Number | Country |
|---|---|---|
| Visa | 4000000000000002 | US |
| Mastercard | 5105105105105100 | CA |
| American Express | 371449635398431 | US |
| Discover | 6011000990139424 | US |
| Diners Club | 38520000023237 | |
| JCB | 3566002020360505 | |
| China UnionPay | 6243030000000001 | |
| Maestro | 6771790000000018 | AT |
| IBAN | DE62370400440532013001 | |
| ACH | Routing number: 031245679 Account number: 0312456798 |
To simulate an issuer decline caused by an invalid or mismatched expiration date, while using a valid test card number, set the expiration date to 10/2051. This results in a gateway response code "54" with the message "Expired card or expiration date is missing".
To simulate an issuer decline caused by an invalid CVV, while using a valid test card number, set the CVV to 000, or 0000 for Amex. This results in a gateway response code "N7" with the message "Decline for CVV2 failure".