Skip to main content
POST
Purchase data using network ID

Authorizations

X-API-Key
string
header
required

Body

application/json
plan_id
string
required

Current catalog plan ID

Example:

"1650"

recipient
string
required

Nigerian recipient phone number

Example:

"07068765000"

carrier
enum<string>
Available options:
mtn,
glo,
airtel,
9mobile
Example:

"mtn"

sim_id
string

Optional connected SIM ID

network_id
integer
Example:

1

phone
string
Example:

"07068765000"

Response

200 - application/json

Purchase completed.

success
boolean
Example:

true

tx_id
string
Example:

"TX_MTN_8F32A1BC"

transaction_id
string
Example:

"TX_MTN_8F32A1BC"

status
string
Example:

"Success"

message
string
Example:

"Bundle purchase successful"