POST
/
airtime
/
buy

Authorizations

Authorization
string
header
required

An API key to authenticate requests

Body

application/json
network
enum<string>
required

The network carrier of the airtime

Available options:
Airtel,
MTN,
Glo,
9mobile,
NTEL
amount
number
required

The airtime amount to be recharged

recipient
string
required

The recipient of the airtime

callback
string

This is the URL to receive delivery reports for the message

external_ref
string

This is a reference to the message in your system

Response

200 - application/json
id
string

Unique ID of the SMS message

recipient
string

The recipient of the airtime

external_ref
string

This is a reference to the airtime in your system

callback
string

This is the URL to receive delivery reports for the message

status
enum<string>

The status of the airtime

Available options:
pending,
sent,
failed,
error,
success,
duplicate
created_datetime
string

Date and time the airtime was created

network
enum<string>

The network carrier of the airtime

Available options:
Airtel,
MTN,
Glo,
9mobile,
NTEL
meta
object