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:
- Customer pays you — in your shop, app or website, for example ₹299 for a Jio number.
- Your server sends a request to the recharge API with your token, a unique request ID, the operator, the mobile number and the amount.
- The provider checks your wallet balance, deducts the amount (minus your margin) and forwards the recharge to the operator.
- The operator processes it and returns success or failure.
- 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:
| Status | Meaning | What you should do |
|---|---|---|
| SUCCESS | Operator has completed the recharge. | Show success to the customer. |
| PENDING | Operator has not replied yet. | Wait for the callback. Do not refund or retry yet. |
| FAILED | Recharge did not happen. Amount comes back to your wallet. | Refund or retry for the customer. |
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?
- An account with a recharge API provider and completed KYC
- Your API token and whitelisted server IP
- Balance in your wallet (added through a fund request)
- 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.