curl --location 'https://api.nomba.com/v1/bill/electricity/discos' \
--header 'accountId: <accountId>' \
--header 'Authorization: <token>'
{
    "code": "00",
    "description": "SUCCESS",
    "data": [
        {
            "id": "phed",
            "name": "Port Harcourt (PHED)"
        },
        {
            "id": "jed",
            "name": "Jos Electric (JEDC)"
        },
        {
            "id": "kaduna",
            "name": "Kaduna Electric (KAEDCO)"
        },
        {
            "id": "ibedc",
            "name": "Ibadan Electric (IBEDC)"
        },
        {
            "id": "eko",
            "name": "Eko Electric (EKEDC)"
        },
        {
            "id": "benin",
            "name": "Benin Electric (BEDC)"
        },
        {
            "id": "abuja",
            "name": "Abuja Electric (AEDC)"
        },
        {
            "id": "kano",
            "name": "Kano Electric (KEDCO)"
        },
        {
            "id": "ikeja",
            "name": "Ikeja Electric (IKEDC)"
        },
        {
            "id": "enugu",
            "name": "Enugu Electric (EEDC)"
        }
    ]
}

GET /v1/bills/electricity/discos

Response body

code
string
required

Response code

description
string
required

Response description

data
object[]

List of available electricity providers

id
string
required

The corresponding id for this provider

name
string
required

The pretty name for this provider

curl --location 'https://api.nomba.com/v1/bill/electricity/discos' \
--header 'accountId: <accountId>' \
--header 'Authorization: <token>'
{
    "code": "00",
    "description": "SUCCESS",
    "data": [
        {
            "id": "phed",
            "name": "Port Harcourt (PHED)"
        },
        {
            "id": "jed",
            "name": "Jos Electric (JEDC)"
        },
        {
            "id": "kaduna",
            "name": "Kaduna Electric (KAEDCO)"
        },
        {
            "id": "ibedc",
            "name": "Ibadan Electric (IBEDC)"
        },
        {
            "id": "eko",
            "name": "Eko Electric (EKEDC)"
        },
        {
            "id": "benin",
            "name": "Benin Electric (BEDC)"
        },
        {
            "id": "abuja",
            "name": "Abuja Electric (AEDC)"
        },
        {
            "id": "kano",
            "name": "Kano Electric (KEDCO)"
        },
        {
            "id": "ikeja",
            "name": "Ikeja Electric (IKEDC)"
        },
        {
            "id": "enugu",
            "name": "Enugu Electric (EEDC)"
        }
    ]
}