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.

Showing 21 of 21

Use any future expiration date except 10/2051. Use any CVV except 000 (or 0000 for American Express). For more information, see Restricted CVV and expiration date values.

CVVs are 3 digits for most payment cards and 4 digits for American Express.

BrandNumberCountryResult3DS flowNotes
VisaUSApprovedManual challenge
VisaDEApproved
VisaAUApproved
VisaNZApproved
MastercardCAApprovedFrictionless flow, authenticated
MastercardDEApproved
American ExpressUSApprovedFrictionless flow, authenticated
DiscoverApproved
Diners ClubApproved
JCBJPApproved
China UnionPayApproved
MaestroApproved
VisaApproved

Approved with expiration date updated to previous month (expired)

VisaUSDeclinedFrictionless flow, not authenticated
MastercardCADeclinedFrictionless flow, not authenticated
American ExpressUSDeclinedFrictionless flow, not authenticated
DiscoverUSDeclined
Diners ClubDeclined
JCBDeclined
China UnionPayDeclined
MaestroATDeclined

Special cases

Use the following special cases to simulate specific transaction behaviors.

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 you cannot control the DPAN.

Approved test card that becomes expired

To simulate an approved transaction that becomes expired, use the following test card number: 4000000000000051.

Restricted CVV and expiration date values

The following special cases use restricted values for CVV and expiration date to simulate specific transaction behaviors.

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