Bills — Airtime
Get Airtime Providers
GET
https://backendapi.sayswitchgroup.com/api/v1/airtimeGet Airtime Providers Endpoint Fetches a list of available airtime providers along with their logos and minimum/maximum amount requirements.
Sample cURL Request
cURL
curl --request GET \
--url "https://backendapi.sayswitchgroup.com/api/v1/airtime \
--header 'Authorization: Bearer YOUR_SECRET_KEY'Sample Response
JSON
{
"success": true,
"code": "00000",
"message": "Fetched successfully",
"data": [
{
"provider": "AIRTEL",
"providerLogoUrl": "assets/images/bills/Airtel-Airtime.jpg",
"minAmount": "5",
"maxAmount": ""
},
{
"provider": "MTN",
"providerLogoUrl": "assets/images/bills/MTN-Airtime.jpg",
"minAmount": "5",
"maxAmount": ""
},
{
"provider": "GLO",
"providerLogoUrl": "assets/images/bills/GLO-Airtime.jpg",
"minAmount": "5",
"maxAmount": ""
},
{
"provider": "9MOBILE",
"providerLogoUrl": "assets/images/bills/9mobile-Airtime.jpg",
"minAmount": "5",
"maxAmount": ""
}
]
}