VPA Validation Code Examples

Identity and Security
POST /api/v1/upi/vpa_validation Bearer

Ready-to-run VPA Validation calls. Replace YOUR_API_KEY with the key from your dashboard.

VPA Validation — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/upi/vpa_validation \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vpa":"name@okhdfcbank"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "vpa": "name@okhdfcbank",
            "account_holder": "Ananya Sharma",
            "name_match_score": "",
            "account_type": "",
            "is_penny_drop": false
        }
    }
}