Step-by-step guide for integrating prepaid mobile and DTH recharge using KwikAPI India SDK.
Fetch all available service categories (Prepaid, DTH, Broadband, Electricity, etc.). Use this to build your service selection UI and know which categories are available.
Fetch all billers/operators with their codes, active status, and supported amount ranges.
Filter by service=Prepaid or service=DTH to get only relevant operators.
opid in every recharge request.
Fetch full details for each operator — supported payment channels, NPCI payment modes, bill-fetch support flag, and required extra fields (opt1–opt10).
bill_fetch_supported to decide if you can show a bill
preview.Fetch all India telecom circle codes (MH, DL, KA, etc.). Required when fetching recharge plans and initiating prepaid recharges.
Pass the customer's 10-digit mobile number. Returns the real-time detected operator and circle, accounting for MNP (Mobile Number Portability) and circle migrations.
Pass the opid (from Step 5) and state_code (from Step 5) to get
all available plans for that operator and circle.
Submit the recharge with all confirmed details. This is the payment step — the API may take variable time depending on the operator.
order_id for every transaction. Store it — you may need
it for status lookup.| Status | Action |
|---|---|
| SUCCESS | Show confirmation to customer, update your records |
| FAILURE | Show failure message, do not retry with same order_id |
| PENDING | Wait 30–60 seconds, check via Transaction Status API |
~99% of transactions return a real-time SUCCESS or FAILURE response directly from the recharge API. Only call this if the response was PENDING, timed out, or unclear.
order_id.