When you integrate with Checkout.com, you should test for various common payment scenarios. You can do this by testing for specific response codes, including the following:
API response code | Raw response code | Description |
---|---|---|
20005 |
05 |
Declined - Do Not Honour |
20014 |
14 |
Invalid Card Number |
20051 |
51 |
Insufficient Funds |
20054 |
54 |
Expired Card |
20057 |
57 |
Transaction not Permitted to Cardholder |
20059 |
59 |
Suspected Fraud |
20061 |
61 |
Exceeds Withdrawal Value/Amount Limits |
20062 |
62 |
Restricted Card |
20078 |
78 |
Blocked, first use - transaction from new cardholder, and card not properly unblocked |
20179 |
79 |
Lifecycle |
20182 |
82 |
Policy |
20183 |
83 |
Security |
For more information on additional response codes, see the API response codes documentation.