Skip to main content
GET

Overview

Customers can requery vending transactions from the public API. Use this endpoint when an airtime, data, electricity, or cable TV purchase returns a pending response. The orderId path value is the requestReference returned by the original purchase request.

Request

Path Parameters

Response Fields

string
"00" indicates the requery request was processed successfully.
string
Human-readable requery result message.
string
Unique reference for the requery request.
object
Current transaction details.
string
Current transaction status, such as SUCCESS, FAILED, or PENDING.
string
Transaction reference being checked.
string
Electricity token for successful prepaid electricity purchases, when available.
number
Electricity units for successful electricity purchases, when available.

Status Codes

Notes

  • Use the requestReference from the original purchase response as orderId.
  • Wait at least 2 minutes after the original purchase before requerying a pending transaction.
  • Store both the original purchase response and the requery result for reconciliation and support.
  • For successful electricity purchases, the response can include token and units details.
  • If the transaction is still PENDING, do not submit a duplicate purchase for the same customer request.
  • In the Mintlify playground, the orderId value you type is preserved as you move between endpoints — paste the requestReference from a real purchase response to test end-to-end.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderId
string
required

The requestReference returned by the original purchase response. The value you type here is preserved across the playground — paste your real reference to test against a live transaction.

Response

Requery completed. Use data.status to determine the final outcome.

gatewayStatus
string
Example:

"00"

gatewayMessage
string
Example:

"Successfully Processed"

requestReference
string
Example:

"bpr_req_a1b2c3d4e5f6"

data
object