Skip to main content

Get Transaction Status

To get transction status from Payment Platform, utilize the "GET_TRANS_STATUS" request.

API Endpoint

Request URL:      {{API_HOST}}
Request Method: POST
Request Body: x-www-form-urlencoded
Response Body: JSON
tip
  • {{API_HOST}}
  • The request should be initiated in the background (e.g. through PHP CURL).
ParameterDescriptionValuesRequired
actionGET_TRANS_STATUSGET_TRANS_STATUSY
client_keyMerchnat Key provided by TESS PaymentsY
trans_idTransaction ID in the Payment PlatformString up to 255 charactersY
hashSpecial signature to validate your request to Payment PlatformSee Appendix A, GET_TRANS_STATUS signatureY

Response parameters

ParameterDescription
actionGET_TRANS_STATUS
resultSUCCESS
statusDECLINED/SETTLED
order_idOrder ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
decline_reasonReason of transaction decline. It shows for the transactions with the “DECLINED” status