Airtime recharge providers

get
Get List of Airtime Service providers

https://test.platform.baxi.com.ng​/services​/airtime​/providers
This endpoint allows you to get the list of airtime recharge providers and their service type code.
Request
Response
Request
Headers
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Response
200: OK
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 provider. (string) name: This is the full title of the providers name. (string) plans: 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: Not Found
{ "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