API Online
support@rechapi.com
Recharge API

What is a Mobile Recharge API and How Does It Work?

A simple guide to mobile recharge APIs in India: what they are, how a recharge request flows, statuses, margins and what you need to start.

Every day crores of prepaid mobile and DTH recharges happen in India. Most of them do not happen on the operator's own app — they happen through shops, wallets, banking apps and websites. All of these businesses use one thing behind the scenes: a mobile recharge API.

In this guide we explain, in simple words, what a recharge API is, how a recharge request travels from your app to the operator, and what you need to start offering recharges yourself.

What is a mobile recharge API?

An API (Application Programming Interface) is a way for one software to talk to another. A recharge API lets your app, website or billing software send a recharge request to a recharge provider, which then completes the recharge with the telecom or DTH operator and tells you the result.

So instead of making agreements with Jio, Airtel, Vi, BSNL, Tata Play, Dish TV and every other operator separately, you integrate one API and get all operators together.

How does a recharge request work?

Here is the journey of one recharge, step by step:

  1. Customer pays you — in your shop, app or website, for example ₹299 for a Jio number.
  2. Your server sends a request to the recharge API with your token, a unique request ID, the operator, the mobile number and the amount.
  3. The provider checks your wallet balance, deducts the amount (minus your margin) and forwards the recharge to the operator.
  4. The operator processes it and returns success or failure.
  5. You get the result — immediately in the API response, or a little later through a callback if the operator is slow.

With ClubApi, a recharge is a single POST request. It looks like this:

POST https://api.clubapi.in/transaction.php
Content-Type: application/json

{
  "token": "YOUR_TOKEN",
  "urid": "TXN1001",
  "operatorId": "1",
  "mobile": "9876543210",
  "amount": "199"
}

The urid is your own unique ID for the transaction. You use it later to match the result with the order in your database. The full list of fields and operator IDs is in the API documentation.

Recharge statuses: SUCCESS, PENDING and FAILED

Every recharge ends in one of three states:

StatusMeaningWhat you should do
SUCCESSOperator has completed the recharge.Show success to the customer.
PENDINGOperator has not replied yet.Wait for the callback. Do not refund or retry yet.
FAILEDRecharge did not happen. Amount comes back to your wallet.Refund or retry for the customer.
Common mistakeNever treat PENDING as FAILED. If you refund the customer and the recharge later succeeds, you lose the money.

What services can you offer with a recharge API?

  • Prepaid mobile recharge for all major operators
  • DTH recharge
  • Postpaid and utility bill payments (electricity, gas, FASTag, broadband and more) through the recharge & bill payment API

How do you earn money?

You earn a margin (commission) on each recharge. For example, if the margin on an operator is 3%, a ₹500 recharge costs you ₹485 from your wallet and you keep ₹15. Margins differ by operator and change from time to time, so always check the current numbers on the Live Margin page.

Small per-recharge earnings add up quickly when you have many customers or a network of retailers using your app.

Who uses recharge APIs?

  • Retail shops that do recharges for walk-in customers
  • Distributors who build their own retailer app or portal
  • Fintech and wallet apps that offer recharges and bill payments
  • Software companies that build recharge software for clients

What do you need to start?

  1. An account with a recharge API provider and completed KYC
  2. Your API token and whitelisted server IP
  3. Balance in your wallet (added through a fund request)
  4. A server, app or website that can send HTTPS requests

If you are a developer, read our step-by-step recharge API integration guide in PHP. If you are planning the business side, read how to start a mobile recharge business in India.

Frequently asked questions

What is a recharge API?

A recharge API lets your app or website send prepaid mobile, DTH and bill payment requests to a provider, which completes them with the operator and returns the status.

Can I do recharges of all operators with one API?

Yes. A recharge API provider connects to all major operators, so you integrate once and get all of them.

What does PENDING status mean?

PENDING means the operator has not confirmed yet. Wait for the callback or check status later; do not refund the customer until it becomes FAILED.

How much can I earn per recharge?

You earn a margin that depends on the operator. Check the Live Margin page for current numbers.

Share this article
ClubApi Team

We build recharge, bill payment, AEPS and KYC APIs at Rechapi Private Limited and help businesses across India launch their own services.

Related articles