Mobile R-Offer Fetch Code Examples

Telecom
POST /api/v1/mobile/r-offer Bearer

Ready-to-run Mobile R-Offer Fetch calls. Replace YOUR_API_KEY with the key from your dashboard.

Mobile R-Offer Fetch — Code Samples

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

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "mobile_number": "9876543210",
            "operator": "airtel",
            "offers": [
                {
                    "price": "29",
                    "description": "Stay connected with 2GB data at just Rs29",
                    "log_description": "RC29=Payein 2GB data 1 din ke liye."
                },
                {
                    "price": "65",
                    "description": "Stay connected with 4GB data at just Rs65",
                    "log_description": "65=4GB aapke maujooda pack ki vaidhta tak manya"
                }
            ]
        }
    }
}