Transaction Status Enquiry API

This API is used to check the transaction status.

Endpoint

Productionhttps://pginstance/api/v1/txn-status
Test<https://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 Name M/O/C Description Example

transactionId

M

Unique value generated for each

transaction internally by the PG

123456

status

M

Transaction Status

50020 = SUCCESS

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

appendix A)

pgErrorCode

M

PG Error Code

0 = No Error

(any other value means some kind of error. For the list of error codes, refer to PG Error Codes.

pgErrorDetail

M

PG Error detail

pg 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!