Bills & Utilities
Electricity
Covers AEDC, EKEDC, IKEDC, PHEDC, and other Nigerian discos. Always validate the meter before buying — it confirms the meter number is real and returns the customer name on file, so you can show it for confirmation.
List discos
GET
/bills/electricity
Requires Auth
bash
curl https://app.slimpay.ng/api/v1/bills/electricity \
-H "Authorization: Bearer {token}"
GET
/bills/electricity
No bearer token set. to send authenticated requests.
Validate a meter
POST
/bills/electricity/validate
Requires Auth
bash
curl https://app.slimpay.ng/api/v1/bills/electricity/validate \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"disco": "AEDC",
"meter_number": "04123456789",
"vend_type": "PREPAID"
}'
POST
/bills/electricity/validate
No bearer token set. to send authenticated requests.
json
{
"status": true,
"data": { "customer_name": "OBINNA JOHN SAMUEL", "address": "12 Aso Drive, Abuja" }
}
Buy a token
POST
/bills/electricity
Requires Auth
bash
curl https://app.slimpay.ng/api/v1/bills/electricity \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"disco": "AEDC",
"meter_number": "04123456789",
"vend_type": "PREPAID",
"amount": 20000,
"phone_number": "08012345678",
"transaction_pin": "1234"
}'
POST
/bills/electricity
This debits your real wallet balance and generates a real prepaid token for the meter you enter. Defaulted to ₦500 to limit test cost.
No bearer token set. to send authenticated requests.
json
{
"status": true,
"message": "Electricity token purchased successfully.",
"data": {
"token": "1234-5678-9012-3456-7890",
"units_kwh": "142.5",
"amount": 20000,
"new_balance": "64200.00"
}
}
Repeat purchases
To let users save a meter for one-tap repeat purchases instead of re-entering it every time, see Virtual Meters.
docs