Reason Codes
For all API responses, it will contain the status_code and status_message in the headers key inside the response's body. It will describe the issue (if any) of those failed payment requests.
HTTP Status Code | Status Code | Status | Transaction Type | Reason | Next Action |
---|---|---|---|---|---|
200 | 0 | Success | Sale | Request accepted and processed completed by payment gateway. | No follow-up action required. |
200 | 0 | Success | Refund | Request accepted and processed completed by payment gateway. | No follow-up action required. |
200 | 0 | Success | Void | Request accepted and processed completed by payment gateway.This means the consumer account won't be debited and the funds won't be credited to you. | No follow-up action required. |
200 | 1 | Pending | Sale | Request accepted and processed by payment gateway and waiting for completion of request such as call back from acquirer. | To wait for the acquirer to process the transaction. It may take awhile before the status is reflected accordingly. |
200 | 1 | Pending | Refund | Request accepted and processed by payment gateway and waiting for completion of request such as call back from acquirer. | To wait for the acquirer to process the transaction. It may take awhile before the status is reflected accordingly. |
200 | 1 | Pending | Void | Request accepted and processed by payment gateway and waiting for completion of request such as call back from acquirer. | To wait for the acquirer to process the transaction. It may take awhile before the status is reflected accordingly. |
400 | 2 | Rejected | Sale | Request is rejected due to various reasons such as incorrect/missing data in the payload. | Check the status_message in the response body to determine the incorrect datatype field or missing field in the request body. |
400 | 2 | Rejected | Refund | Request is rejected due to various reasons such as incorrect/missing data in the payload. | Check the status_message in the response body to determine the incorrect datatype field or missing field in the request body. |
400 | 2 | Rejected | Void | Request is rejected due to various reasons such as incorrect/missing data in the payload. | Check the status_message in the response body to determine the incorrect datatype field or missing field in the request body. |
400 | 3 | Error | Sale | Request cannot be processed by payment gateway. An error has occurred in the payment gateway while processing the request. | To contact our support team to understand more about the error. |
400 | 3 | Error | Refund | Request cannot be processed by payment gateway. An error has occurred in the payment gateway while processing the request. | To contact our support team to understand more about the error. |
400 | 3 | Error | Void | Request cannot be processed by payment gateway. An error has occurred in the payment gateway while processing the request. | To contact our support team to understand more about the error. |