Get Payment Status
base_url: https://demo.etranzact.com/bankit-api/antPeer/v1
Description: This endpoint is used to fetch payment status
- Sample Request
- Sample Response
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
reference | string | Client's reference | Yes |
GET /user/transaction/getpaymentstatus/{reference}
curl `${base_url}/user/transaction/getpaymentstatus/UUIN97E-90`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
Response Parameters
Parameter | Type | Description | Mandatory |
---|---|---|---|
status | string | Response Code of the operation. See Response Code in Response table | Yes |
message | string | Response message for the operation. See response message in Response Table | Yes |
data | object | An object holding additional information | Yes |
sessionId | string | Session ID | Yes |
reference | string | Client’s reference | Yes |
phoneNo | string | Customer’s phone number | Yes |
transactionReference | string | Host transaction reference | Yes |
transactionStatus | string | Transaction status | Yes |
statusMessage | string | Transaction status message | Yes |
GET /user/transaction/getpaymentstatus/{reference}
{
"status": "200",
"message": "Successful",
"data": {
"reference": "1625AGHTF64165rB8902",
"sessionId": "4573829305928473",
"phoneNo": "2347065099181",
"transactionReference": "02IVRAD62000B45947",
"transactionStatus": "0",
"statusMessage": "Transaction Successful"
}
}