9. HTTP Status Code

Following HTTP Status Codes applicable to message response from payment gateway.

Status CodeDescription
200OK - Successful response for HTTP requests.
400Bad Request – PG server rejects request from merchant due to :
syntax error or insufficient request information (missing parameters)
transaction amount less than minimum amount
Invalid API version
401Unauthorized – merchant request does not pass the PG authentication. Example scenarios such as an unregistered merchant server’s IP address trying to make a request to the PG server.
Invalid application code.
Duplicate referenceID.
404Not found – Application code or transaction not found
500Internal Server Error – Error occurred due to PG internal processing.
502Bad Gateway – Error occurred on channel. Merchant required to inquiry to
check/reversal.
504Gateway timeout – timeout between PG server and channel. Merchant required inquiry to check/reversal.