Electricity bills over Bharat Connect
Electricity is the bill most Indians pay every month, and every state has a different board, a different consumer number and different rules. Bharat Connect (formerly BBPS) puts them all behind one standard. A payment made through it reaches the board through the network's own process and carries a Bharat Connect transaction ID the board can trace.
The Payonclick electricity bill payment API is part of our BBPS bill payment API. One key and one integration cover electricity and every other bill category.
Boards you can offer
The API lists 81 electricity billers that accept agent payments on Bharat Connect, including postpaid boards and smart prepaid meter recharges. A few of them by region:
| Region | Examples |
|---|---|
| North | Uttar Haryana Bijli Vitran Nigam (UHBVN), Punjab State Power Corporation (PSPCL), UPPCL postpaid and smart prepaid, Tata Power Delhi, NDMC, Himachal Pradesh State Electricity Board, Uttarakhand Power Corporation, Jammu and Kashmir distribution companies |
| West | MSEDCL (Maharashtra), Adani Electricity Mumbai, B.E.S.T Mumbai, Tata Power Mumbai, Torrent Power, Goa Electricity Department, Jaipur, Ajmer and Jodhpur Vidyut Vitran Nigam |
| Central | Madhya Pradesh Paschim, Madhya and Poorv Kshetra Vidyut Vitaran, Chhattisgarh State Power Distribution |
| South | BESCOM, CESCOM, MESCOM and Gulbarga in Karnataka, Kerala State Electricity Board, Tamil Nadu Power Distribution (TNPDCL), APCPDCL, Puducherry |
| East and North-East | CESC Kolkata, West Bengal Electricity, North and South Bihar Power, Jharkhand Bijli Vitran Nigam, TP Odisha distribution companies, Assam, Meghalaya, Tripura, Manipur |
The live list, with the exact name and ID of each board, comes from GET /billers?category=electricity on every call.
Consumer numbers differ by board
Each board names and formats its account number in its own way. Some examples from the live catalogue:
| Field name | Used by boards such as |
|---|---|
| Consumer Number | Most state boards |
| K Number | Rajasthan's Jaipur, Ajmer and Jodhpur boards |
| CA Number | Tata Power and other private distribution companies |
| Customer ID / Account ID | BESCOM and other Karnataka boards |
GET /biller/{id} returns the exact field name, length and format rule for the board. The API checks the value against the board's own format before the request reaches the board, so a typo returns a clear INVALID_PARAM error with the expected format.
Exact amount, advance and prepaid meters
Boards publish their own amount rules, and the API applies them:
- Exact amount. Most boards accept only the fetched bill amount. Pay that amount and nothing else.
- Bill amount or more. Some boards accept an advance payment above the bill.
- No bill due. When the board has already received payment for the period, the fetch says so (
reason: NO_BILL_DUE) and no token is issued, so a blind payment cannot happen. - Smart prepaid meters. Prepaid recharges such as UPPCL smart prepaid or the TP Odisha smart prepaid meters take the amount your user chooses.
How a payment flows
Find the board
GET /billers with the electricity category returns the boards and their IDs.
Read its fields
GET /biller/{id} returns the consumer number field, its length and format.
Fetch the bill
POST /bill/fetch returns the consumer name, bill amount, bill date, due date and a bill_token valid for 15 minutes.
Pay
POST /bill/pay sends the token, amount, TPIN and your client_reference, and returns the Bharat Connect transaction ID.
Follow the status
Read GET /transaction/{reference_id}, or take the bill.* webhook.
Each payment can be between ₹1 and ₹2,00,000 and is debited from your prepaid MAIN wallet. A payment the board declines is refunded to your wallet automatically, and a retry with the same client_reference never pays twice.
Responses to handle
| Response | What it means | What your app should do |
|---|---|---|
INVALID_PARAM (400) |
The value breaks the board's format rule; param and format say which and why |
Show the expected format and let the user correct it |
BILL_FETCH_FAILED (422) |
The board returned no bill; the message carries its own words | Show the message; nothing was debited |
BILLER_BUSY (429) |
The board is answering another request | Retry the fetch after a few seconds |
INSUFFICIENT_BALANCE (400) |
Your MAIN wallet can't cover the amount | Top up the wallet; nothing was debited |
PAYMENT_IN_PROGRESS (429) |
The same bill or client_reference is already being paid |
Retry with the same reference to read its result |
PENDING status |
The board has not confirmed yet | Wait 120 seconds, then poll or take the bill.* webhook |
Reconciliation
Look a payment up by our reference_id or by your own client_reference, and pull GET /transactions filtered by status and date for your daily report. Every successful payment carries the Bharat Connect transaction ID the board can trace, and POST /complaint raises a Bharat Connect complaint on it if the credit doesn't arrive.
Paying many electricity bills
Property managers, retail chains and facility teams pay the same accounts every month. They don't need code: Bulk Bill Pay takes an Excel file with up to 500 consumer numbers of one board, fetches every bill and pays the selected bills with one T-PIN. Our bulk electricity bill payment guide covers the checks that keep a bill from being missed or paid twice.