Payonclick Developer Docs
v1

Browse Plans

GET https://payonclick.in/ext/v1/recharge/plans
Any valid API key Signed request Counts toward your 60 req/min

The plans an operator sells, with amount, validity and benefits


Query & Path Params

NameTypeDescription
operator_id required int From /operator-fetch or /operators
circle_code optional string PREPAID: the circle_code /operator-fetch returned
number optional string PREPAID: instead of circle_code — the circle is looked up for you. DTH needs neither

Responses

StatusDescription
200 OK The plans an operator sells, with amount, validity and benefits — see the example on the right.
200 OK · DTH Alternate outcome for the same call — the second Response tab.
4xx / 5xx { "success": false, "error": { "code": "…", "message": "…" } } — every code is listed under Error Codes.
🔏
This call must be signed

Send X-Api-Key-Id, X-Timestamp, a new X-Nonce and X-Signature = HMAC-SHA256 with your signing secret over POC1\nGET\n/ext/v1/recharge/plans\n{QUERY}\n{TIMESTAMP}\n{NONCE}\n{BODY_SHA256}. The samples on the right compute it for you; the rules are in Request Signing.

📘
Good to know

plans is one list in display order: by category (in the order of categories), then by amount. category is one of popular, data, unlimited, talktime, validity, roaming, other for mobiles. DTH packs are grouped by language instead (hindi, tamil, ...), so read the keys from categories. Fields the operator does not publish are null. updated_at is set when the list comes from our own catalogue, and tells you when it was last updated.

Operators change plans often, so read this list close to the recharge and do not store it for long. A plan is information only: POST /recharge takes the amount, and the operator decides the benefit. 404 PLANS_NOT_AVAILABLE means there is no list for this operator right now; any valid amount can still be recharged. Limited to 60 lookups a minute per account.