Codes

Response Codes

Understanding the response codes from the payment gateway is crucial for interpreting transaction outcomes and making informed decisions. Below are the codes used by the gateway along with their respective meanings:

CodeMeaning
200 & 201Success
490 & 430Failed Operation
203Success (Encrypted Response)
495Failed (Encrypted Response)
401Un-Authorised

Code Definitions

  • 200 & 201 (Success): These codes indicate a successful operation. Depending on the request, the response may include a payload or a message in JSON format to provide additional information.

  • 490 (Failed Operation): This code signifies that the operation has failed for some reason.

  • 203 (Success - Encrypted Response): Indicates a successful operation with an encrypted response. Additional security measures are applied to protect sensitive data.

  • 495 (Failed - Encrypted Response): Denotes a failed operation with an encrypted response. Similar to code 203, additional security measures are applied to protect sensitive information.

Understanding these codes will streamline your interaction with the payment gateway and enable you to handle transactions effectively.