Skip to main content
  1. Home
  2. Blog
  3. Utility API
  4. Electricity, Gas and Water Bill Payment API: How Integration Works

Electricity, Gas and Water Bill Payment API: How Integration Works

Electricity meter, water tap and gas cylinder connected to a phone showing bill payment

Adding electricity, gas and water bill payments to your portal brings customers back every month. In India these payments run on Bharat Connect, formerly known as BBPS, which links payment platforms to billers through one standard system. You do not connect to each electricity board separately; you connect to a bill payment API, and the API connects to Bharat Connect.

The flow in five steps

  1. Biller list. Your software gets the list of billers (for example, a state electricity board or a gas company) and the fields each one needs, like consumer number or account ID.
  2. Bill fetch. The retailer enters the customer's number, and the API returns the customer name, bill amount and due date from the biller.
  3. Confirm with the customer. The retailer reads out the name and amount. This one step prevents most wrong payments.
  4. Payment. Your software sends the payment request with the amount and a unique order ID, and the API returns success, pending or failure.
  5. Receipt and status. On success, you show and send the receipt with the Bharat Connect reference number. On pending, you check status later instead of guessing.

What your software needs

PartWhy it matters
Dynamic form per billerBillers ask for different fields; the form should change with the biller
Bill fetch before payShows the real amount and name, and avoids paying the wrong account
Unique order ID for every requestLets you check status and avoid paying twice
Status check and callback handlingPending payments settle later; your wallet must follow the final status
Receipt with reference numberThe customer's proof, and what they need for any complaint

Common mistakes

  • Refunding a pending payment too early. If it later succeeds, you have paid the bill and refunded the retailer. Always wait for the final status.
  • Skipping bill fetch. Some billers allow payment without it, but wrong consumer numbers then become your problem.
  • Retrying with the same order ID, or a new one too fast. Check the status of the first request before sending another.
  • No receipt. Customers trust the counter more when they get a receipt on WhatsApp.
Pro tip: keep the bill fetch response with the transaction. If a customer later says "I paid the wrong amount", you can show exactly what the biller returned.

Which bill categories to start with

Electricity is usually the busiest, followed by gas cylinder booking, piped gas, water, broadband and postpaid mobile. FASTag works in a similar way; our FASTag recharge API guide covers it.

Add bill payments to your portal

A1Topup's Utility API includes biller lists, bill fetch and status checks, and works with our recharge software or your own. Ask for the API document on WhatsApp.

Frequently asked questions

Do I need to connect to each electricity board separately?
No. A bill payment API connects to Bharat Connect (BBPS), which already links to thousands of billers. You integrate once with the API.
What is bill fetch?
Bill fetch asks the biller for the customer’s name, bill amount and due date using the consumer number, so the retailer can confirm before paying.
What should I do if a bill payment is pending?
Do not refund or retry at once. Check the status using your order ID, and update the wallet only when the final status is success or failure.

Have a question? Talk to our team

We respect your privacy. Your details are only used to contact you about A1Topup.

Related articles

WhatsApp