Bills — Data

Internet Providers

GEThttps://backendapi.sayswitchgroup.com/api/v1/internet

The Internet Provider API returns a list of internet service providers along with their logos. This is useful for applications that need to display available providers for users to choose from, such as data top-up or broadband payment systems.

Sample cURL Request

cURL
curl -X GET https://backendapi.sayswitchgroup.com/api/v1/internet \
  -H "Content-Type: application/json" \
   --header 'Authorization: Bearer YOUR_SECRET_KEY'

Sample Response

JSON
{
  "success": true,
  "code": "00000",
  "message": "Fetched successfully",
  "data": [
    {
      "provider": "AIRTEL",
      "providerLogoUrl": "assets/images/bills/Airtel-Data.jpg"
    },
    {
      "provider": "MTN",
      "providerLogoUrl": "assets/images/bills/MTN-Data.jpg"
    },
    {
      "provider": "GLO",
      "providerLogoUrl": "assets/images/bills/GLO-Data.jpg"
    },
    {
      "provider": "9MOBILE",
      "providerLogoUrl": "assets/images/bills/9mobile-Data.jpg"
    },
    {
      "provider": "SMILE4G",
      "providerLogoUrl": "assets/images/bills/Smile-Payment.jpg"
    }
  ]
}

Response Field

FieldTypeDescription
successbooleanIndicates whether the API call was successful (true/false).
codestringCustom response code. "00000" usually means success.
messagestringHuman-readable message describing the outcome of the request.
dataarrayA list of internet providers and their associated logo URLs.
providerstringName of the internet service provider (e.g., MTN, GLO).
providerLogoUrlstringRelative URL of the provider’s logo image.