Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | Driving license ID number |
| issue_date | String | Yes | License issue date in "YYYY-MM-DD" format |
| traffic_file_number | String | Yes | Traffic file number |
| birth_year | String | Yes | Birth year of the license holder |
{
"id_number": "164303",
"issue_date": "2021-09-01",
"traffic_file_number": "142996",
"birth_year": "1994"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains all license verification details |
| data.client_id | String | Unique client identifier |
| data.id_number | String | Driving license ID number |
| data.issue_date | String | License issue date in "YYYY-MM-DD" format |
| data.traffic_file_number | String | Traffic file number |
| data.birth_year | String | Birth year of the license holder |
| data.full_name | String | Full name as per driving license |
| data.black_points | String | Number of black points on the license |
| data.license_type | String | Type of license (e.g., Permanent) |
| data.license_status | String | Current status of the license |
| data.dob | String | Date of birth in "YYYY-MM-DD" format |
| data.expiry_date | String | License expiry date in "YYYY-MM-DD" format |
| data.vehicle_class | Array | List of vehicle classes the holder is authorized to drive |
| data.vehicle_class[].vehicle_type | String | Type of vehicle authorized |
| data.vehicle_class[].valid_till | String | Validity date for the vehicle class in "YYYY-MM-DD" format |
| data.eye_test_results | Object | Details of the license holder's eye test |
| data.eye_test_results.test_center | String | Name of the eye test center |
| data.eye_test_results.right_eye_result | String | Vision test result for right eye |
| data.eye_test_results.left_eye_result | String | Vision test result for left eye |
| data.eye_test_results.color_blindness | String | Color blindness status |
| data.eye_test_results.test_date | String | Date of eye test in "YYYY-MM-DD" format |
| data.eye_test_results.test_expiry_date | String | Expiry date of eye test in "YYYY-MM-DD" format |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the request was successful |
| message | String | Response message |
| message_code | String | Code indicating the response status |
{
"data": {
"client_id": "uae_driving_license_EhtzagePGanepcglBssd",
"id_number": "0001303",
"issue_date": "2021-09-01",
"traffic_file_number": "000996",
"birth_year": "1994",
"full_name": "HOMAYUN KABIR",
"black_points": "0",
"license_type": "Permanent",
"license_status": "With Owner",
"dob": "1994-00-00",
"expiry_date": "2028-00-00",
"vehicle_class": [
{
"vehicle_type": "Light Vehicle Automatic",
"valid_till": "2021-00-00"
}
],
"eye_test_results": {
"test_center": "Max Vision Trading",
"right_eye_result": "6/6",
"left_eye_result": "6/6",
"color_blindness": "Fit",
"test_date": "2020-10-14",
"test_expiry_date": "2023-00-00"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid license credentials",
"message_code": "invalid_credentials"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/uae/license-verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "164303",
"issue_date": "2021-09-01",
"traffic_file_number": "142996",
"birth_year": "1994"
}'{
"data": {
"client_id": "uae_driving_license_EhtzagePGanepcglBssd",
"id_number": "0001303",
"issue_date": "2021-09-01",
"traffic_file_number": "000996",
"birth_year": "1994",
"full_name": "HOMAYUN KABIR",
"black_points": "0",
"license_type": "Permanent",
"license_status": "With Owner",
"dob": "1994-00-00",
"expiry_date": "2028-00-00",
"vehicle_class": [
{
"vehicle_type": "Light Vehicle Automatic",
"valid_till": "2021-00-00"
}
],
"eye_test_results": {
"test_center": "Max Vision Trading",
"right_eye_result": "6/6",
"left_eye_result": "6/6",
"color_blindness": "Fit",
"test_date": "2020-10-14",
"test_expiry_date": "2023-00-00"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}