get http://api.pandascrow.io/sandbox/index/services/bills/data/fetch
This endpoint would allow you to fetch all data plans per network with service with Pandascrow.
[GET] {{baseurl}}/sandbox/index/services/bills/data/fetch
Fetch Data plans
To fetch all data plans, you'll need to pass in a network id from 1 - 4. Look at the table for a reference of the required parameters.
Param | Required? | Description | type |
---|---|---|---|
network | Yes | Select network where; 1 = MTN, 2 = AIRTEL, 3 = 9MOBILE, 4 = GLO | Integer |
API Object
{
"status": 200,
"data": {
"internetdata": [
{
"network_id": 2,
"name": "40MB - 1 day",
"price": "50",
"uniq_id": "airt-50_40MB - 1 day"
},
{
"network_id": 2,
"name": "100MB - 1 day",
"price": "100",
"uniq_id": "airt-100_100MB - 1 day"
},
{
"network_id": 2,
"name": "200MB - 3 days",
"price": "200",
"uniq_id": "airt-200_200MB - 3 days"
},
{
"network_id": 2,
"name": "350MB - 7 days",
"price": "300",
"uniq_id": "airt-300_350MB - 7 days"
},
{
"network_id": 2,
"name": "750MB - 14 days",
"price": "500",
"uniq_id": "airt-500_750MB - 14 days"
},...
]
}
}
curl -L -X GET '{{baseurl}}/sandbox/index/services/bills/data/fetch' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
-H 'Appid: appid'