Data Bundle

Purchase Data Bundle

Data Bundle

POST {{base_url}}/databundle

Netword ID - GLO = 1, MTN = 2, AIRTEL = 3, 9MOBILE = 4

Headers

Request Body

{
    "status": true,
    "message": "Success",
    "txref": "API1090229525d60",
    "charged": "260.00",
    "newbal": 40083.79
}

Take a look at how you might do this:

curl --location --request POST 'https://api.oneappgo.com/v1/databundle' \
--header 'Authorization: Bearer SECREY_KEY' \
--form 'datacode="1000"' \
--form 'network_id="2"' \
--form 'phoneno="07012345678"' \
--form 'dtype="sme"' \
--form 'reference="DJIEJ2MEUE2EN34"' 

Sample Response

{
    "status": true,
    "message": "Success",
    "txref": "API1090229525d60",
    "charged": "260.00",
    "newbal": 40083.79
}

Last updated