Requery

This endpoint is used to re-confirm for transactions whose transaction states were previously in pending and also for re-fetching the status and response data of a previously initiated transaction for purchase of any type.

get
Re-Query Transaction Status

https://payments.baxipay.com.ng/superagent/transaction/query
Request
Response
Request
Headers
Authorization
required
string
See the Authentication page for details
Query Parameters
agentReference
required
string
Unique reference previously generated for the transaction by the integrator.
Response
200: OK
For e-pin transaction, The purchase pins will added under the pin array as an object and the main number available as pin property within the object. For prepaid electricity transactions: The token will be made available under the token property.
{
"status": "success",
"message": "Successful",
"code": 200,
"data": {
"statusCode": "0",
"transactionStatus": "success",
"transactionReference": 2517,
"transactionMessage": "Transaction successful",
"pins": [
{
"instructions": "Dial *203*3*YOURPIN# to recharge.",
"serialNumber": "1491224645326",
"pin": "1290372508463929",
"expiresOn": "2017-04-06"
}
....
],
"tokenCode": "PREPAID_TOKEN_HERE"
}
}