Bank Account Validation Code Examples

Identity and Security
POST /api/v1/bank/account_validation Bearer

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

Bank Account Validation — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/bank/account_validation \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account_number":"1234567890","ifsc_code":"HDFC0001234"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "account_number": "1234567890",
            "ifsc_code": "HDFC0001234",
            "account_holder": "Ananya Sharma",
            "name_match_score": "",
            "account_type": "",
            "bank_name": "HDFC BANK",
            "branch_name": "MUMBAI",
            "branch_state": "MAHARASHTRA",
            "is_penny_drop": true
        }
    }
}