🧾 Query Transaction
The Query Transaction endpoint allows your application to check the status, amount, service type, and ledger balances of any transaction processed through HeedPay using its unique reference ID (`refId`).
Requests require valid merchant authorization headers and a JSON payload containing the target transaction's reference ID.
Integration Endpoint
The target route for verifying transaction statuses.
POST
https://heedpay.com.ng/api/transaction/
Required Request Headers
| Header Key | Value / Description |
|---|---|
| Authorization | heedpay9g4efbt45hg0d553f297b703fb510dd46e3e5cc (Your live API Key) |
| Content-Type | application/json |
| Accept | application/json |
JSON Request Body
CONTENT-TYPE: APPLICATION/JSON
{
"refId": "20261112EHQNQRVKIKPAYOUT" // Unique transaction reference ID (Required)
}
JSON Response Body
HTTP STATUS: 200 OK
{
"status": "success",
"transaction": {
"refId": "20261112EHQNQRVKIKPAYOUT",
"status": "success",
"amount": "5,647.00",
"service": "TRANSFER",
"type": "CREDIT",
"message": "Successfully transfer N5647 to PalmPay 7075282016 to SAHEED OLANREWAJU FATAI",
"oldbal": "5,967.50",
"newbal": "300.50",
"date": "2026-11-12 06:17:18"
}
}
Documentation updated recently