Cable & Bill Payments
Fetch Electricity Providers (Discos)
Introduction
- Welcome to Nomba
- Get API Keys
- Testing
Getting Started
- Dashboard Setup
- Authentication
- Definitions
Plugins and SDKs
Products
- Accounts
- Accept Payments
- Transfers
- Terminals
- Webhooks
- Transactions
- Airtime & Data Vending
- Cable & Bill Payments
Guides
API Patterns
Cable & Bill Payments
Fetch Electricity Providers (Discos)
Get a list of the available electricity providers
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
Response code
Response description
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)"
}
]
}
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)"
}
]
}