Driving License Verify Code Examples
Identity and SecurityReady-to-run Driving License Verify calls. Replace YOUR_API_KEY with the key from your dashboard.
Driving License Verify — Code Samples
cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/driving-license/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"dob":"15/06/1992","dl_number":"MH0320140001234"}'
Expected Response — 200
{
"status": "SUCCESS",
"status_code": 200,
"charged": true,
"success": true,
"message": "",
"message_code": "OK",
"order_id": "W2A1739512345abcdef01",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"license_number": "MH0320140001234",
"state": "Maharashtra",
"name": "PRIYA PATEL",
"permanent_address": "42 MG ROAD, PUNE, MAHARASHTRA",
"permanent_zip": "411001",
"temporary_address": "42 MG ROAD, PUNE, MAHARASHTRA",
"temporary_zip": "411001",
"citizenship": "",
"ola_name": "RTO PUNE",
"ola_code": "MH032",
"gender": "F",
"father_or_husband_name": "MAHESH PATEL",
"dob": "1992-06-15",
"doe": "2034-08-10",
"transport_doe": "1800-01-01",
"doi": "2014-08-11",
"transport_doi": "1800-01-01",
"has_image": true,
"blood_group": "B+",
"vehicle_classes": [
"MCWG",
"LMV-NT"
],
"less_info": false
}
}
}