TAN Adv Code Examples

Business
POST /api/v1/tan/fetch_adv Bearer

Ready-to-run TAN Adv calls. Replace YOUR_API_KEY with the key from your dashboard.

TAN Adv — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/tan/fetch_adv \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tan_number":"ABKT12345E"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "tan": "ABKT12345E",
            "details": {
                "full_name": "SOLUTIONS PRIVATE LIMITED",
                "first_name": "",
                "middle_name": "",
                "last_name": "",
                "tan_allotment_date": "2050-12-18",
                "address": {
                    "line_1": "H.NO 123 ,SHIV COLONY",
                    "line_2": ",",
                    "line_3": "",
                    "line_4": "",
                    "line_5": "PANCHKULA",
                    "state_code": 99,
                    "zip": "123456",
                    "full": "H.NO.123 SHIV COLONY , PANCHKULA 123456"
                },
                "email_1": "[email protected]",
                "email_2": "",
                "phone_number": "1234567890"
            }
        }
    }
}