Sales Status
Check the status of an Airtime, Data or Insurance sale directly from the sales records. Only sales belonging to the wallet in accountnumber are searched. Look up the original external reference, transaction ID, or reference returned in the sale reply.
Use the identifier from the original Airtime or Data sale. Read the Sales guide for what each outcome means.
Request History
Your request history will appear here.
Headers
Your Moolre username.
Your Private API Key for the paying wallet.
Body Params
Sales status function. Must be 1.
Moolre wallet account number used for the sale, linked to your Sell on Our Platform Service. Only this wallet's sales are searched.
Which identifier you send in id.
1externalref: the externalref or extid you sent with the sale.2transactionid: from the sale reply.3reference: from the sale reply.
Use the original externalref (or extid) sent with the Airtime or Data sale. Do not generate a new reference for this lookup.
Responses
Supplied Data sale status example: sent, with txstatus 1. Other outcomes are described below; exact response bodies for them were not supplied.
0Pending1Sent2Failed: and refunded.3Not found
Insurance sales
An insurance sale is looked up the same way as airtime and data, with the original externalref (idtype 1), the transactionid or the reference. For an insurance sale the reply carries the insurance fields below as well as the common ones (product is insurance). txstatus 1 means the policy is issued; 2 means it was not issued and the charge was refunded; 0 means it is not final yet. See Sell Insurance for the purchase.
{
"status": "1",
"code": "ASS01",
"message": "Policy Issued",
"data": {
"txstatus": 1,
"stage": "issued",
"product": "insurance",
"network": "enterprise",
"cover_code": "T",
"receiver": "0240000000",
"amount": "1250.00",
"premium": "1250.00",
"charged": "1250.00",
"commission": "125.00",
"commission_status": "paid",
"accountnumber": "10XXXXXXXXXXXX",
"transactionid": "123456789",
"refundid": null,
"reference": "SALE-REFERENCE",
"externalref": "your-extid",
"thirdpartyref": "POLICY-NUMBER",
"provider_message": "Policy created",
"policy": {
"pol_no": "POLICY-NUMBER",
"certificate_url": "https://example.com/certificate",
"sticker_no": "STICKER-NUMBER",
"sticker_url": "https://example.com/sticker",
"brown_card_url": "https://example.com/brown-card"
},
"ts": "2026-12-01 09:00:00",
"updated": "2026-12-01 09:00:12",
"created_at": "2026-12-01T09:00:00Z",
"updated_at": "2026-12-01T09:00:12Z"
},
"go": null,
"meta": {
"requestid": "req_c68f4c66115c26725c796242",
"notices": []
}
}Insurance fields in data
awaiting_insurerWaiting for the insurer to confirm it (txstatus 0).needs_reviewMoolre is checking it (txstatus 0).refund_pendingNot issued, and the refund is being processed (txstatus 0).issuedThe policy is issued (txstatus 1).refundedRefunded (txstatus 2).
| Code | Meaning | Next step |
|---|---|---|
| ASS01 | Policy Issued. | txstatus 1. Read policy and commission. |
| ASS02 | Policy not issued, the charge was refunded. | txstatus 2. Read refundid. A new purchase is safe. |
| ASS03 | Policy Pending. | txstatus 0 with stage awaiting_insurer or needs_review. Check again; do not buy again. |
| ASS09 | Policy not issued, the refund is pending. | txstatus 0 with stage refund_pending. Check again until txstatus is 2. |
Status application codes
Application codes, not HTTP status codes. A successful HTTP request does not mean the sale was sent.
| Code | Meaning | Next step |
|---|---|---|
| ASS01 | Sent. | The sale was sent; read data.txstatus and the recorded sale details. |
| ASS02 | Failed and refunded. | Read refundid for the refund transaction. |
| ASS03 | Pending. | Check the status again before treating the sale as complete or retrying a purchase. |
| ASS04 | Not found. | Check accountnumber, idtype, and id; only sales belonging to that wallet are searched. |
| ASS05 | Identifier type invalid. | Use idtype 1, 2, or 3 with the corresponding identifier. |
| ASS06 | Parameters incomplete. | Supply type, accountnumber, idtype, and id. |
| ASS07 | Type invalid. | Send type 1. |
| ASS08 | Unknown error. | The lookup did not establish a final outcome. Do not assume the purchase failed or automatically resubmit it. |
| ASS00 | Authentication error. | Check X-API-USER and X-API-KEY for the selected wallet and environment. |
View Errors and status codes for the shared response guidance.
