Electricity Vending
Fetch discos/electricity providers
Changed onYou can use this endpoint to fetch electricity providers/discos
get/v1/bill/electricity/discos
Request
- Base URLhttps://api.nomba.com
- URLhttps://api.nomba.com/v1/bill/electricity/discos
- AuthHTTP bearer
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": [
{
"id": "jed",
"name": "Jos Electric (JEDC)"
}
]
}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