Query a Transaction

Use this method to get a transaction's current status. Look for the HasPaid property that tells you a transaction is fully resolved and successful.

get
Query Transaction

https://a1pay.net/api/transactions/query
This endpoint allows you to query a transaction
Request
Response
Request
Query Parameters
Reference
optional
string
The Payment Reference for the transaction
Response
200: OK
Transaction record. Lookout for HasPaid property
{
"id": "723419",
"TransactionCode": "5210C7",
"PayerNumber": "CFB/08/09/000345",
"TransType": "Actual School Fees Payment",
"SurName": "John",
"FirstName": "Doe",
"OtherNames": "UYOVWISIVWOHWO ",
"Amount": "44500.00",
"PhoneNumber": "080xxx",
"EmailAddress": "[email protected]",
"ProgrammeName": "Undergraduate Regular",
"Faculty": "CLINICAL MEDICINE",
"Department": "MEDICINE",
"Level": "600",
"SessionName": "2018/2019",
"BatchNo": "111101",
"Pin": "0",
"SerialNumber": "0",
"ExpiryDate": "2018-10-14T12:50:52.413",
"CreateDate": "2018-10-11T12:50:53.210",
"AmountPaid": "44500.00",
"collectingbank": "Unity Bank PLC",
"PaymentDate": "2018-10-11T13:29:48.010",
"HasPaid": "1",
"SemesterID": "0",
"ClientID": "1",
"TransStatus": "3",
"College": "",
"IntTransactionCode": "41125210C7",
"BRANCH_NAME": "339: Abraka Branch, Abraka",
"TELLER_ID": "t02080",
"ActualPayDate": "2018-10-11T12:20:26",
"SwitchID": "1",
"SwitchResponseDate": "2018-10-11T13:29:47.803",
"ClientFeedbackTrials": "1",
"MerchantName": "Name of Merchant"
}

‚Äč