Transaction Status Enquiry API

This API is used to check the transaction status.

Endpoint

Productionhttps://pginstance/api/v1/txn-status
Testhttps://areionsbi.pc.enstage-sas.com/transaction/api/v2/txn-status
Content-Typeapplication / json
Sample request
curl --request POST \
     --url https://areionsbi.pc.enstage-sas.com/transaction/api/v2/txn-status \
     --header 'content-type: application/json' \
     --header 'mle-enabled: dfgdfgdfgfdgdfgfdg' \
     --data '
{
  "pgInstanceId": "24730649",
  "merchantId": "71389820",
  "amount": 1000,
  "merchantReferenceNo": "UniqueMRN",
  "messageHash": "CURRENCY:7:bcdfx-=",
"currencyCode": "840"
}
Response parameters
Field NameM/O/CDescriptionExample
transactionIdMUnique value generated for each

transaction internally by the PG
123456
statusMTransaction Status50020 = SUCCESS

(any other value is a failure, full status codes shall be provided in

appendix A)
pgErrorCodeMPG Error Code0 = No Error

(any other value means some kind of error. For the list of error codes, refer to PG Error Codes.
pgErrorDetailMPG Error detailpg error detail was not set
Sample response
 [
  {
    "transactionId": 27,
    "status": 50020,
    "pgErrorCode": 0,
    "pgErrorDetail": "No Error"
  },
  {
    "transactionId": 34,
    "status": 50020,
    "pgErrorCode": 0,
    "pgErrorDetail": "No Error"
}
]

Request parameters

Language
Click Try It! to start a request and see the response here!