Test Card Numbers
Card transactions can be tested using a test API key. Any dummy card number can be used as long as it conforms to a valid card number format. Below are a few examples of valid card numbers.
Valid Test Card Numbers
| Card Number | Status | Type |
|---|---|---|
4242 4242 4242 4242 | authorized/processed | Visa |
5103 2088 7967 2792 | authorized/processed | MasterCard |
3700 0000 0000 002 | authorized/processed | American Express |
6011 9102 7504 5718 | authorized/processed | Discover |
Invalid Test Card Numbers
These test card numbers can be used to trigger specific error types.
| Card Number | Status Code | Error Description |
|---|---|---|
4111 1111 1111 9900 | card_expired | The card has expired. |
4111 1111 1111 9901 | duplicate_attempt | This transaction appears to be a duplicate attempt and has been prevented. |
4111 1111 1111 9902 | exceeded_limit | The amount of the transaction exceeds the allowed limit for this account. |
4111 1111 1111 9903 | general_decline | The card has been declined, contact card issuer for more information. |
4111 1111 1111 9904 | insufficient_bal | The card does not have a sufficient balance to complete the payment. |
4111 1111 1111 9905 | invalid_card_code | The security code is invalid, please check the number. |
4111 1111 1111 9906 | invalid_card_number | The card number is invalid, please check the number. |
4111 1111 1111 9907 | invalid_zip | The ZIP Code does not match the card. |
4111 1111 1111 9908 | suspicious_activity | This transaction has been identified as suspicious. |
4111 1111 1111 9909 | too_many_attempts | Too many payment attempts have been made, please try again later. |
4111 1111 1111 9910 | invalid_address | The billing address does not match the card. |