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

Indian DTH/D2H Recharge Plans Code Examples

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

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

Indian DTH/D2H Recharge Plans — Code Samples

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

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": "dish_tv",
            "plan_count": 2,
            "plans": [
                {
                    "plan_name": "Family Kannada HD",
                    "language": "kannada",
                    "channels": 48,
                    "hd_channels": 11,
                    "prices": [
                        {
                            "amount": 288,
                            "validity": "1 month",
                            "validity_months": 1
                        }
                    ]
                },
                {
                    "plan_name": "Popular Telugu",
                    "language": "telugu",
                    "channels": 28,
                    "hd_channels": 0,
                    "prices": [
                        {
                            "amount": 125,
                            "validity": "1 month",
                            "validity_months": 1
                        },
                        {
                            "amount": 913,
                            "validity": "3 months",
                            "validity_months": 3
                        },
                        {
                            "amount": 1825,
                            "validity": "6 months",
                            "validity_months": 6
                        },
                        {
                            "amount": 3651,
                            "validity": "12 months",
                            "validity_months": 12
                        }
                    ]
                }
            ]
        }
    }
}