Operator & Plans

Operator check and recharge plan API

Detect the operator and circle of a mobile number before a recharge, and show your users the plans that operator sells, with amount, validity, data and benefits. Both lookups are read-only, move no money and come with the Payonclick recharge API.

  • Operator and circle detection
  • Ported numbers handled
  • Prepaid plans by category
  • DTH plans by language
  • Read-only, no money moves

Why operator check and plans matter

Most failed recharges start before any money moves: the wrong operator was picked, the number was ported, or the amount is not a plan the operator sells in that circle. An operator check and a plan list fix all three at the screen, so the recharge your app sends is the one the operator expects.

The Payonclick recharge API includes two read-only lookups for this:

  • GET /operator-fetch tells you which operator and circle a mobile number belongs to right now, after porting.
  • GET /plans lists the plans an operator sells, with amount, validity, data, talk time and a description.

Neither moves money and neither needs your TPIN. They use the same API key, signature and response format as the recharge itself.

Operator check

Send the number and the service. The answer is the operator in our own catalogue, ready to use in the recharge call, plus the circle.

GET /ext/v1/recharge/operator-fetch?number=9876543210&service=PREPAID

{ "success": true, "data": {
    "number": "9876543210", "service": "PREPAID",
    "operator_id": 2, "operator_name": "Jio",
    "circle": "Haryana", "circle_code": "96",
    "source": "lookup", "is_available": true } }
  • Ported numbers. The lookup answers with the number's current operator, so a number moved from one operator to another is recharged on the right one.
  • Circle code. circle_code is an opaque code for the plan lookup. Pass it to /plans as it is.
  • Availability. is_available and unavailable_reason tell you if that operator is switched off for the moment, before your user picks a plan.
  • DTH. The same call takes a DTH subscriber ID with service=DTH.

If the operator can't be detected, the API returns OPERATOR_NOT_DETECTED, and your app falls back to letting the user choose from GET /operators.

Plan list

Pass the operator, and for prepaid the circle code from the operator check, or the number itself:

GET /ext/v1/recharge/plans?operator_id=2&circle_code=96

Each plan comes with:

Field Example
amount 299
category unlimited, data, talk time, roaming and others
validity 28 Days
data 1.5GB/day
talktime where the plan has one
description Unlimited calls, 1.5GB/day, 100 SMS/day

The response also lists the categories with a count in each, so your app can show tabs such as Unlimited, Data and Top-up without hard-coding them.

DTH plans are grouped by language (Hindi, Tamil, Telugu and so on) instead of categories, because that is how DTH packs are sold. In live checks an Airtel Haryana prepaid number returned 77 plans and Tata Play returned 588 packs.

A recharge screen in four calls

1

Detect

Call /operator-fetch when the user finishes typing the number, and preselect the operator and circle.

2

Show plans

Call /plans and show the categories as tabs. Let the user tap a plan or type an amount.

3

Quote

Call /quote with the amount to show the exact wallet debit before the user confirms.

4

Recharge

Call POST /recharge with your TPIN and your own client_reference, then follow the status or the recharge.* webhook.

Limits and fair use

Each account can make 60 operator checks and 60 plan lookups a minute. Above that, the API answers 429 RATE_LIMITED, so cache plan lists for a while instead of fetching them on every keystroke. PLANS_NOT_AVAILABLE means no plan list exists for that operator, and your user can still enter an amount.

FAQ

Frequently asked questions

What is a recharge plan API?

It returns the recharge plans a telecom or DTH operator sells, with amount, validity, data and benefits, so your app can show them before the user pays. Payonclick's plan API is part of the recharge API under /ext/v1/recharge/plans.

How does the operator check work for ported numbers?

GET /operator-fetch returns the number's current operator and circle, so a ported number is recharged on the operator it moved to, not the one it started with.

Does the operator check or plan lookup cost money?

They are read-only lookups that move no money from your wallet. Each account can make 60 of each a minute.

Does it cover DTH?

Yes. The operator check accepts a DTH subscriber ID with service=DTH, and the plan lookup returns DTH packs grouped by language.

Which operators are covered?

Airtel, Jio, Vi and BSNL prepaid, and the DTH operators in the recharge API. The live list comes from GET /operators. Where an operator has no plan list, the API says so and your user enters the amount.

Do I need a separate key for the lookups?

No. They come with the recharge API and use the same key, signature and recharge permission.

Keep exploring

Related services and guides

Get started

Tell us what you want to launch

Share a few details. Our team will call you back within one business day with the next steps, the documents needed and pricing for your use case.