Airtime
Send airtime to a recipient on MTN, Telecel, or AT, paid from the wallet identified by accountnumber. The amount is in Ghana cedis (GHS) and must be at least 1.00. Use a unique external reference per wallet for each new sale.
ASL11 means in progress, not delivered. Check Sales Status before retrying. Read the Sales guide for setup, pricing, and handling pending sales.
Request History
Your request history will appear here.
Headers
Your Moolre username.
Your Private API Key for the paying wallet.
Body Params
Airtime sale function. Must be 1.
Recipient network. Send the channel name (case-insensitive). The numeric ids still work but are deprecated and return a notice.
MTNMTN Mobile Money (deprecated id 1).TELECELTelecel Cash (deprecated id 6).ATAT Money (deprecated id 7).
Phone number receiving the airtime.
Airtime amount in GHS. Minimum 1.00.
Sale currency. Must be GHS.
Moolre wallet account number that pays for the airtime. Must be linked to your Sell on Our Platform Service.
Unique reference per wallet for this sale. The API also accepts extid as an alternative field name; send only one. Examples and this form use externalref.
Optional narration for the sale.
Responses
The sale is in progress. This example is not confirmation of airtime delivery.
Airtime application codes
Application codes, not HTTP status codes. Do not assume delivery for any code not listed here.
| Code | Meaning | Next step |
|---|---|---|
| ASL11 | Sale in progress; no final reply yet. | Check the sale status before treating the top-up as complete or submitting again. |
| ASL00 | Authentication error. | Check the API user and private API key for the wallet. |
| ASL01 | Amount missing or below GHS 1.00. | Provide an amount of at least GHS 1.00. |
| ASL02 | Receiver missing. | Provide the recipient phone number. |
| ASL03 | Incomplete request. | Check all required request fields. |
| ASL04 | Channel not supported. | Use MTN, TELECEL, or AT, or the corresponding legacy value 1, 6, or 7. |
| ASL05 | Type invalid. | Send type 1. |
| ASL06 | Unknown error; the sale may still have gone through. | Confirm the sale status before any retry. Do not generate a new reference to resubmit an uncertain sale. |
| ASL08 | External reference missing or already used. | Use a unique reference per wallet for a new sale. Check the original sale before attempting a duplicate. |
| ASL09 | Currency is not GHS. | Send currency GHS. |
| ASL10 | Wallet currency not supported. | Use a wallet with a supported currency for this GHS sale. |
| ASL12 | Wallet inactive. | Check the wallet activation state. |
| ASL13 | Account number not found. | Check the paying wallet account number. |
View Errors and status codes for the shared response envelope.
