Electricity Vending

Fetch discos/electricity providers

Changed on

You can use this endpoint to fetch electricity providers/discos

get/v1/bill/electricity/discos

Request

  • Base URL
    https://api.nomba.com
  • URL
    https://api.nomba.com/v1/bill/electricity/discos
  • Auth
    HTTP bearer

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": [
    {
      "id": "jed",
      "name": "Jos Electric (JEDC)"
    }
  ]
}

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