Testing Credit Card Purchases

Developers can use this documentation to test various credit card scenarios.

Card Purchases

Coinflow provides a set of test credit cards that can be used to test a purchase on sandbox. You may use any CVV, address, name, and future expiration date with the below numbers to simulate a successful purchase. To simulate a failed purchase, set the card zipcode to 99999. To simulate a rejected chargeback protection decision, set the card zipcode to 00000.

CardCard NumberZipcodeStatus
Visa4111 1111 1111 1111anySuccess
Mastercard5431 1111 1111 1111anySuccess
Discover6011 1111 1111 1117anySuccess
American Express3782 822463 10005anySuccess
Visa4111 1111 1111 111199999Failed
Mastercard5431 1111 1111 111199999Failed
Discover6011 1111 1111 111799999Failed
American Express3782 822463 1000599999Failed

3DS Enabled Card Purchases

Merchants who have 3DS configured can use the below test cards on sandbox to test different 3DS challenge scenarios.
Note: When testing a friction challenge, you may use any number as the 2FA.

Card NumberCVVExpiry MonthExpiry YearCard3DS Challenge Type
2303 7799 9900 02752750826MastercardFrictionless Challenge
2303 7799 9900 04084080826MastercardFriction Challenge
2303 7799 5100 04534530826MastercardFriction Challenge Failure
2303 7799 5100 03473470826MastercardRejection

Testing on Production

When testing in production it is important to adhere to the following guidelines:

  1. Totals for testing transactions being $2+ per transaction
  2. Not more than 1 purchase by same card in a 15 minute increment
  3. Not more than 3 test transactions per card in a day

Failure to follow these guidelines could result in your production account being suspended.