Last updated

Test payment cards, IBANs, and ACH details

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.

Restricted CVV and expiration date values

Simulate approved transactions

The following test card numbers and IBAN simulate approved transactions.

Card brandNumberCountry
Visa4111111111111111US
Visa4123400073320224DE
Visa4761229700150465AU
Visa4761209980011439NZ
Mastercard5555555555554444CA
Mastercard5204245250460049DE
American Express378282246310005US
Discover6011111111111117
Diners Club30569309025904
JCB3530111333300000JP
China UnionPay6253111111111114
Maestro6759641111111119
IBANDE89370400440532013000
ACHRouting number: 123456789
Account number: 1234567890

Approved test card that becomes expired

The following test card simulates an approved transaction but returns an expiration update set to the previous month, which makes the card expired.

Card brandNumberDescription
Visa4000000000000051Approved with expiration updated to previous month (expired)

Special approved transaction amount

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.

Simulate declined transactions

The following test card numbers simulate declined transactions.

Card brandNumberCountry
Visa4000000000000002US
Mastercard5105105105105100CA
American Express371449635398431US
Discover6011000990139424US
Diners Club38520000023237
JCB3566002020360505
China UnionPay6243030000000001
Maestro6771790000000018AT
IBANDE62370400440532013001
ACHRouting number: 031245679
Account number: 0312456798

Simulate an issuer decline caused by invalid expiration date

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".

Simulate an issuer decline caused by invalid CVV

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".