Query Transaction Status
Returns the current state of a transaction you created, looked up by your request_ref. Use it to resolve any pending purchase.
Calling this endpoint also re-sends a transaction.requery webhook (if you have a webhook URL configured) carrying the same status.
transaction_type is one of AIRTIME, DATA, CABLE_TV, ELECTRICITY. previous_balance / new_balance are the wallet balance before and after the debit.
Authentication
AuthorizationBearer
API key issued from the VTUAgent dashboard, sent as Authorization: Bearer {your_api_key}.
Request
This endpoint expects an object.
request_ref
The reference you sent when purchasing.
Response
Transaction completed
status
Allowed values:
status_code
Always equals the HTTP status.
Allowed values:
message
reference
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
424
Failed Dependency Error
