If plans are not available for a circle, the API returns 404 with message Plans not found. You can still proceed with Do Recharge using a known amount.
4. Do Recharge
Perform a recharge. Amount is debited from your e-wallet (recharge amount + service charge).
Operator id from Operators List — not the vendor operator code
txn_id
No
Your own unique transaction ID (max 40 chars; letters, numbers, _ and -). The same txn_id is used in the response, status check and callback. A repeated txn_id is rejected, so a retry never creates a second recharge. If not sent, we generate one and return it.
callback_url
No
Your server URL to receive the final status when a PENDING recharge becomes SUCCESS or FAILED (see Callback section)
Important:operator_code is the numeric id from the Operators API (e.g. 6 for JIO), not a vendor operator code.
For DTH, skip Fetch Operator and Fetch Plans. Put the subscriber number in mobile and the DTH operator id in operator_code (type dth in the Operators list, for example 12 for AIRTEL DTH).
Operator reference (on SUCCESS, may be empty otherwise)
mobile
Mobile / subscriber number
amount
Recharge amount
If Do Recharge already returns SUCCESS or FAILED, no callback is sent. Your server should return HTTP 200. The callback is sent once; if you miss it, use status_check.
Integration Flow
Call operators to get the operator list (or skip if you already know the operator id)
Call fetch_operator with the mobile number to auto-detect operator and circle
Optional: call fetch_plans using operator id and exact circle from step 2
Call do_recharge with mobile, amount, and operator id as operator_code. For DTH, use the subscriber number and a dth operator id. Do not call fetch operator or plans.
Save the returned txn_id — use it in status_check every 30–60 seconds while status is PENDING
Stop polling when status becomes SUCCESS or FAILED
Status Values
PENDING Recharge is being processed — poll status_check
SUCCESS Recharge completed successfully
FAILED Recharge failed — amount refunded to e-wallet if debited
Amount is debited from the e-wallet. Wallet is charged recharge amount plus applicable service charge. On failure before debit, no wallet deduction occurs; on failure after debit, amount is refunded automatically via status check.