All error codes generated by these interfaces are integer and have the same values across all interface calls.
Payment Host Response Codes
code | message | Description |
---|---|---|
1 | Transient error | Transient gateway error |
2 | Invalid payment details | Credit card or payment details are incorrect - Correct and try again |
4 | Insufficient funds | Credit card has insufficient funds |
5 | Possible fraud detected/ Velocity Rule Breach | Transaction breached velocity rules |
98 | Invalid transaction state | Invalid Transaction State |
99 | Examples: Other error occurred/ Resource not found/ A request has already been submitted with the same requestId / A request submitted with the same requestId has not yet completed / The supplied content type is missing or invalid. | Other unspecified error |
Sample Example
400 Bad Request
{
"code": "4",
"message": "Insufficient funds.",
"method": "POST",
"endPoint": "/v1/payments",
"requestId": "CHub234Wer"
}