Airtime Recharge Providers
This endpoint allows you to get the list of airtime recharge providers and their service type code.
GET https://payments.baxipay.com.ng/api/baxipay/services/airtime/providers
Get list of Airtime Service Providers
Parameters
Header
Authorization string Authentication token to track down who is emptying our stocks.
Responses
-
200 data: This returns a list of provider objects in an array list.
service_type: This is the code that is used to identify a service provider. shortname: This is an abbreviation of the providers. (string) name: This is the full title of the providers name. (string) plan: This is an array of plans offered by the airtime provider. Array items can either be "prepaid" or "postpaid". (array)
"status": "success",
"message": "Successful",
"code": 200,
"data": {
"providers": [
{
"service_type": "mtn",
"shortname": "mtn",
"name": "Mtn Nigeria",
"plans": [
"prepaid"
]
},
{
"service_type": "airtel",
"shortname": "airtel",
"name": "Airtel Nigeria",
"plans": [
"prepaid"
]
},
{
"service_type": "glo",
"shortname": "glo",
"name": "Globacom Nigeria",
"plans": [
"prepaid"
]
},
{
"service_type": "9mobile",
"shortname": "9mobile",
"name": "9 Mobile NG",
"plans": [
"prepaid"
]
},
{
"service_type": "smile",
"shortname": "smile",
"name": "Smile Comm. NG",
"plans": [
"prepaid"
]
}
]
}
}
- 404
{ "message": "Ain't no cake like that."}
Service Type | Test Mobile Number |
---|---|
mtn | any mtn number |
airtel | any airtel number |
glo | any glo number |
9mobile | any 9mobile number |
Smile | 1402000567 |
Spectranet | 210001245 |
Updated 9 months ago