post http://api.pandascrow.io/sandbox/index/services/bills/data
This endpoint would allow you to fetch all data plans per network with service with Pandascrow.
[POST] {{baseurl}}/sandbox/index/services/bills/data
Fetch Buy Data plans
To purchase data plans, you'll need to provide all required parameters. Look at the table for a reference of the required parameters.
Param | Required? | Description | type |
---|---|---|---|
phone | Yes | Provide phone number (e.g 08179600000) | String |
plan | Yes | Enter plan e.g "airt-50_40MB - 1 day" as it is in uniq_id | String |
amount | Yes | amount with minimum of 100 Naira, (e.g "100") | String |
network | Yes | Select network where; 1 = MTN, 2 = AIRTEL, 3 = 9MOBILE, 4 = GLO | String |
API Object
{
"status": 200,
"data": {
"error": false,
"message": "Data purchase successful",
"plan": "airt-50_40MB - 1 day"
}
}
curl -L -X POST '{{baseurl}}/sandbox/index/services/bills/data' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
-H 'Appid: appid'