DISCO Token Generation API
Electricity Bill Payment API Nigeria
Validate meter numbers and vend prepaid & postpaid electricity tokens for all 11 Nigerian electricity distribution companies.
POST
https://babspay.com.ng/api/electricity
Request Body (JSON)
{
"disco_name": 1, // 1: Ikeja Electric, 2: Eko Electric, 3: Abuja, etc.
"meter_number": "14128938210",
"meter_type": 1, // 1: Prepaid, 2: Postpaid
"amount": 5000,
"phone": "08137000125"
}
Success Response (200 OK)
{
"status": "success",
"message": "Token generated successfully",
"token": "4521-8932-1209-7743-1092",
"units": "74.8 kWh",
"customer_name": "LAWADEY TECH",
"meter_number": "14128938210",
"amount": 5000.00
}
Frequently Asked Questions (FAQ)
Does the Electricity API support meter validation before payment?
Yes, our POST /api/validate-meter endpoint verifies the customer name and address associated with the meter number before charging.
How is the prepaid token returned?
The generated 20-digit electricity token, units vended, and receipt reference are returned directly in the synchronous JSON response.