PAN Verification Code Examples
Identity and SecurityReady-to-run PAN Verification calls. Replace YOUR_API_KEY with the key from your dashboard.
PAN Verification — Code Samples
cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/pan/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pan_number":"ABCDE1234F"}'
Expected Response — 200
{
"status": "SUCCESS",
"status_code": 200,
"charged": true,
"success": true,
"message": "",
"message_code": "OK",
"order_id": "W2A1739512345abcdef01",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"pan_number": "ABCDE1234F",
"full_name": "ANANYA SHARMA",
"title": "",
"full_name_split": [
"",
"",
"ANANYA SHARMA"
],
"pan_status": "E",
"pan_status_desc": "EXISTING AND VALID",
"aadhaar_seeding_status": "Y",
"aadhaar_seeding_status_desc": "Seeded",
"pan_modified_date": null,
"category": "individual",
"client_id": "pan_advanced_v2_xxxxxxxxxxxxxxxxxxxx"
}
}
}