Last updated

Test 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
Discover—Approved——
Diners Club—Approved——
JCBJPApproved——
China UnionPay—Approved——
Maestro—Approved——
Visa—Approved—

Approved with expiration date updated to previous month (expired)

VisaUSDeclinedFrictionless flow, not authenticated
MastercardCADeclinedFrictionless flow, not authenticated
American ExpressUSDeclinedFrictionless flow, not authenticated
DiscoverUSDeclined——
Diners Club—Declined——
JCB—Declined——
China UnionPay—Declined——
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 or 71.71. This is useful for methods like Apple Pay, where you cannot control the DPAN.

If the gateway account uses ThreeDSecureIO3dsServer for 3DS, the card is not enrolled in 3DS at these amounts. For more information, see Test 3DS outcomes.

3DS outcome with a test card of another gateway

To select the 3DS outcome for a test card of another gateway, enter a keyword in the cardholder name. For more information, see Test 3DS outcomes with gateway test cards.

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