Airtime and Data Vending
Fetch data plans available on a telco (network provider)
Changed onYou can use this endpoint to fetch data plans available on a telco (network provider)
get/v1/bill/data-plan/{telco}
Request
- Base URLhttps://api.nomba.com
- URLhttps://api.nomba.com/v1/bill/data-plan/{telco}
- AuthHTTP 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.
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 fromobjecttoarrayfor 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
- breaking