Data Bundle
Purchase Data Bundle
Data Bundle
POST {{base_url}}/databundle
Netword ID - GLO = 1, MTN = 2, AIRTEL = 3, 9MOBILE = 4
Headers
Name
Type
Description
authorization*
SECRET_KEY
Set value to Bearer PUBLIC_KEY
Request Body
Name
Type
Description
network_id*
String
Network ID for each network as shown above
datacode*
String
phoneno*
String
reference
String
Transaction reference. This should be a unique identifier from you
dtype*
String
Specify the data type as direct or sme based on the return from the dataplans response
{
"status": true,
"message": "Success",
"txref": "API1090229525d60",
"charged": "260.00",
"newbal": 40083.79
}Take a look at how you might do this:
Sample Response
Last updated
Was this helpful?