Retrieve Provider Bundles

The below endpoint fetches directly from the provider all the available data bundles available.

post
Retrieve data bundles for a specific provider

https://payments.baxipay.com.ng/api/baxipay​/services​/databundle​/bundles
Request
Response
Request
Headers
Authorization
required
string
See authentication page
Baxi-date
required
string
Current date.
Body Parameters
service_type
required
string
This can either be mtn, airtel, 9mobile, glo
Response
200: OK
data: Returns an array of objects containing various bundles that can be subscribed to. Object: name: This is the title/description for of the bundle allowance: This is the data allowance given price: This is the price for the bundle validity: This is the period valid for the bundle before expiry datacode: This is the *unique identification code* for the bundle. The datacode value is what is used to identify the bundle during a purchase request. This is a sample response for service_type: mtn
{
"status": "success",
"message": "Successful",
"code": 200,
"data": [
{
"name": "30MB for 1 day",
"allowance": "30MB",
"price": 100,
"validity": "1 day",
"datacode": 100
},
{
"name": "100MB for 1 day",
"allowance": "100MB",
"price": 200,
"validity": "1 day",
"datacode": 200
},
{
"name": "750MB for 7 days",
"allowance": "750MB",
"price": 500,
"validity": "7 days",
"datacode": 500
},
{
"name": "1.5GB for 30 days",
"allowance": "1.5GB",
"price": 1000,
"validity": "30 days",
"datacode": 1000
},
{
"name": "3.5GB for 30 days",
"allowance": "3.5GB",
"price": 2000,
"validity": "30 days",
"datacode": 2000
},
{
"name": "10GB for 30 days",
"allowance": "10GB",
"price": 5000,
"validity": "30 days",
"datacode": 5000
},
{
"name": "22GB for 30 days",
"allowance": "22GB",
"price": 10000,
"validity": "30 days",
"datacode": 10000
},
{
"name": "50GB for 60 days",
"allowance": "50GB",
"price": 20000,
"validity": "60 days",
"datacode": 20000
},
{
"name": "85GB for 90 days",
"allowance": "85GB",
"price": 50000,
"validity": "90 days",
"datacode": 50000
},
{
"name": "150GB for 90 days",
"allowance": "150GB",
"price": 75000,
"validity": "90 days",
"datacode": 75000
}
]
}