GET
/api/v1/electricity/providers
Live
List Electricity DisCos
Retrieve list of all licensed Nigerian electricity distribution companies (IKEDC, EKEDC, IBEDC, AEDC, PHED, EEDC, KAEDCO, KEDCO, BEDC, YEDC, JED).
Note: Returns provider codes, minimum purchase amounts, and supported meter types.
Authentication:
Bearer API Key (dex_live_... or dex_test_...)
Request Parameters:
| Parameter |
Type |
Required |
Description |
| Authorization |
Header (string) |
Yes |
Bearer API Key |
Sample Request (cURL):
curl -X GET "https://dexng.com.ng/api/v1/electricity/providers" \
-H "Authorization: Bearer dex_live_abc123..."
Sample Response (200 OK):
{
"status": "success",
"code": 200,
"data": [
{
"id": "ikedc",
"name": "Ikeja Electric (IKEDC)",
"min_amount": 1000
},
{
"id": "ekedc",
"name": "Eko Electricity (EKEDC)",
"min_amount": 1000
},
{
"id": "aedc",
"name": "Abuja Electricity (AEDC)",
"min_amount": 1000
},
{
"id": "ibedc",
"name": "Ibadan Electricity (IBEDC)",
"min_amount": 1000
}
]
}
POST
/api/v1/electricity/verify
Live
Validate Electricity Meter
Query DisCo meter status, registered customer name, and meter type (prepaid or postpaid).
Note: Confirms customer ownership before funds are debited.
Authentication:
Bearer API Key (dex_live_... or dex_test_...)
Request Parameters:
| Parameter |
Type |
Required |
Description |
| Authorization |
Header (string) |
Yes |
Bearer API Key |
| disco |
Body (string) |
Yes |
IKEDC | EKEDC | IBEDC | AEDC | PHED | EEDC | KAEDCO | KEDCO | BEDC | YEDC | JED |
| meter_number |
Body (string) |
Yes |
10 to 13-digit meter number |
| meter_type |
Body (string) |
Yes |
prepaid | postpaid |
Sample Request (cURL):
curl -X POST "https://dexng.com.ng/api/v1/electricity/verify" \
-H "Authorization: Bearer dex_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"disco": "IKEDC",
"meter_number": "0101150029381",
"meter_type": "prepaid"
}'
Sample Response (200 OK):
{
"status": "success",
"code": 200,
"data": {
"customer_name": "BABATUNDE ADENIRAN",
"address": "14 ADEOLA ODEKU STREET, VICTORIA ISLAND, LAGOS",
"meter_number": "0101150029381",
"meter_type": "prepaid",
"disco": "IKEDC",
"min_amount": 1000,
"max_amount": 500000,
"status": "Active"
}
}
POST
/api/v1/electricity/purchase
Live
Purchase Electricity Token / Pay Bill
Generate instant 20-digit prepaid recharge tokens or pay postpaid electricity utility balances.
Note: Token and units_kwh are delivered directly upon resolution. For prepaid meters, if the DisCo has not generated the token within the 3.5s window, HTTP 202 is returned and client polls /api/v1/reseller/transaction/:ref for the token. Rejections trigger automatic wallet refunds.
Authentication:
Bearer API Key (dex_live_... or dex_test_...)
Request Parameters:
| Parameter |
Type |
Required |
Description |
| Authorization |
Header (string) |
Yes |
Bearer API Key |
| disco |
Body (string) |
Yes |
IKEDC | EKEDC | IBEDC | AEDC | PHED | EEDC | KAEDCO | KEDCO | BEDC | YEDC | JED |
| meter_number |
Body (string) |
Yes |
Meter number |
| meter_type |
Body (string) |
Yes |
prepaid | postpaid |
| amount |
Body (number) |
Yes |
Purchase amount in NGN (min ₦1,000) |
| phone |
Body (string) |
Optional |
Customer notification phone number |
| reference |
Body (string) |
Yes |
Unique idempotent client reference |
Sample Request (cURL):
curl -X POST "https://dexng.com.ng/api/v1/electricity/purchase" \
-H "Authorization: Bearer dex_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"disco": "IKEDC",
"meter_number": "0101150029381",
"meter_type": "prepaid",
"amount": 5000,
"phone": "08031234567",
"reference": "ELEC-APEX-55102"
}'
Sample Response (200 OK):
{
"status": "success",
"code": 200,
"message": "Electricity payment confirmed and token generated successfully.",
"data": {
"reference": "ELEC-APEX-55102",
"dexng_reference": "TRXELE-991024-81",
"disco": "IKEDC",
"meter_number": "0101150029381",
"meter_type": "prepaid",
"token": "4910-2918-4819-2091-7712",
"units_kwh": "42.8",
"amount_debited": 5000,
"currency": "NGN",
"status": "delivered",
"delivery_status": "delivered",
"balance_after": 37800,
"created_at": "2026-10-15T00:00:00.000Z"
}
}
Sample Response (202 Accepted — Async Delivery):
{
"status": "pending",
"code": 202,
"message": "Electricity recharge order submitted and is being processed.",
"data": {
"reference": "ELEC-APEX-55102",
"dexng_reference": "TRXELE-991024-81",
"disco": "IKEDC",
"meter_number": "0101150029381",
"meter_type": "prepaid",
"amount_debited": 5000,
"currency": "NGN",
"status": "pending",
"created_at": "2026-10-15T00:00:00.000Z"
}
}