Airtime and Data Vending

Fetch data plans available on a telco (network provider)

Changed on

You can use this endpoint to fetch data plans available on a telco (network provider)

get/v1/bill/data-plan/{telco}

Request

  • Base URL
    https://api.nomba.com
  • URL
    https://api.nomba.com/v1/bill/data-plan/{telco}
  • Auth
    HTTP bearer

Path parameters

telcostring required

Network provider

Headers

accountIdstring uuid required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27

The parent accountId of the business.

Response

OK - your request was successful.

codestring required

Response Code

descriptionstring required

Response description

messagestring required

Response message

statusboolean required

Request status

Example response

{
  "code": "00",
  "description": "SUCCESS",
  "message": "SUCCESS",
  "status": true,
  "data": [
    {
      "plan": "1GB + 1.5mins 1 day Plan",
      "amount": 500,
      "productId": "mtn16"
    }
  ]
}

Changes

    • breaking

      the response's property type changed from object to array for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status