Way2API® API documentation Sign in to grab your API key — or create a free account. Sign In Get Started

Indian Prepaid Recharge Plans Code Examples

Telecom
POST /api/v1/mobile/recharge-plans Bearer

Ready-to-run Indian Prepaid Recharge Plans calls. Replace YOUR_API_KEY with the key from your dashboard.

Indian Prepaid Recharge Plans — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/mobile/recharge-plans \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operator":"airtel","circle":"karnataka"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "operator": "airtel",
            "circle": "karnataka",
            "plan_count": 4,
            "plans": [
                {
                    "category": "popular",
                    "category_label": "Trending Packs",
                    "amount": 399,
                    "validity": "28 days",
                    "validity_days": 28,
                    "description": "Calls : Unlimited | Data : Unlimited 5G + 2.5GB/day | SMS : 100/day | COMBO : 28 days",
                    "status": "active"
                },
                {
                    "category": "unlimited",
                    "category_label": "Unlimited 5G Plans",
                    "amount": 429,
                    "validity": "1 month",
                    "validity_days": null,
                    "description": "Calls : Unlimited local STD & Roaming | Data : Unlimited 5G + 2.5GB/day | SMS : 100/Day",
                    "status": "active"
                },
                {
                    "category": "data",
                    "category_label": "Data",
                    "amount": 77,
                    "validity": "7 days",
                    "validity_days": 7,
                    "description": "Data: 5GB | COMBO: 7 days",
                    "status": "active"
                },
                {
                    "category": "topup",
                    "category_label": "TOPUP (top up voucher)",
                    "amount": 500,
                    "validity": "",
                    "validity_days": null,
                    "description": "TOPUP : 423.73",
                    "status": "active"
                }
            ]
        }
    }
}