₹ZeroRecharge

BSNL recharge API

BSNL recharge API for prepaid numbers

BSNL plans change a lot from circle to circle. Our API returns the plans for the number's circle, so you can sell BSNL recharges without maintaining tariff lists.

Useful where BSNL is strong

If your customers are in rural or government-heavy regions, BSNL support matters. Add it to your retailer app or service centre panel using the same integration as other operators.

Clear outcomes

Every recharge ends as SUCCESS, FAILED or PENDING. A failed recharge is refunded to your wallet automatically, so your ledger stays correct without manual work.

The integration, in three calls

bash

# 1. Find the operator and circle
curl "https://zrecharge.bottercc.com/api/v1/detect?number=98XXXXXXXX" \
  -H "Authorization: Bearer rk_live_..."

# 2. List plans for that circle
curl "https://zrecharge.bottercc.com/api/v1/plans?operator_id=OPERATOR_ID&circle_id=CIRCLE_ID" \
  -H "Authorization: Bearer rk_live_..."

# 3. Recharge
curl -X POST https://zrecharge.bottercc.com/api/v1/recharge \
  -H "Authorization: Bearer rk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"number":"98XXXXXXXX","operator_id":OPERATOR_ID,"circle_id":CIRCLE_ID,"amount":349,"client_ref":"order_1042"}'

Frequently asked questions

How do I get an API key?

Create a free account, open the API section of your dashboard and generate a key. You can restrict each key to a list of server IPs.

How is an API recharge paid for?

Every recharge is debited from your wallet at the plan price. Top up the wallet with Razorpay, and call the balance endpoint to monitor it from your own systems.

Does a failed recharge cost anything?

No. The amount goes back to your wallet automatically when a recharge fails.

Related