The transaction validation endpoint is a GET request that helps the merchant validate if notifications received via the callback are from their integration. Ensuring the integrity of transactions is crucial for any successful business, and this transaction validation endpoint serves as an essential layer of protection for your online transactions.

The TransactionRef should be included as a query string to get the status of the transaction.

METHOD: GET:

☑️

Test URL: https://qa-dev.hydrogenpay.com/qa/api/v1/validate-transaction?TransactionRef=VPMYYMULnMMAuNVBdMGUG5U7JLJG

Live URL: https://api.hydrogenpay.com/api/v1/validate-transaction?TransactionRef=VPAY380FTRQ24085A00A

Request parameters

Every transaction validation request returns either of these responses to validate if the transaction was successful or not.

Successful Response

{
    "response_Code": "90000",
    "response_Message": "Transaction is valid",
    "amount":50000
}

Invalid Response

{
    "response_Code": "10002",
    "response_Message": "Transaction is invalid",
  	"amount": 5000
}