Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token for authentication (JWT format) |
Content-Type | Yes | Must be set to multipart/form-data |
Parameter | Type | Required | Description |
---|---|---|---|
front | File (Image) | Yes | Upload front image of license |
back | File (Image) | Yes | Upload back image of license |
Parameter | Type | Required | Description |
---|---|---|---|
front_base64 | String | Yes | Front image of license in Base64 format |
back_base64 | String | Yes | Back image of license in Base64 format |
Parameter | Type | Required | Description |
---|---|---|---|
front_link | String | Yes | URL for front image of license |
back_link | String | Yes | URL for back image of license |
Parameter | Type | Description |
---|---|---|
data | Object | Contains the extracted information |
data.client_id | String | Unique identifier for the OCR request |
data.ocr_front_response | Object | Extracted data from the front side of the license |
data.ocr_back_response | Object | Extracted data from the back side of the license |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
Field | Type | Description |
---|---|---|
traffic_plate_number | String | The traffic plate number of the vehicle |
place_of_issue | String | The place where the vehicle license was issued |
tc_number | String | The Technical Committee number of the vehicle |
nationality | String | The nationality of the vehicle owner |
owner | String | The name of the vehicle owner |
expiry_date | String | The expiry date of the vehicle license (YYYY-MM-DD) |
ins_expiry | String | The expiry date of the vehicle insurance policy (YYYY-MM-DD) |
policy_number | String | The policy number of the vehicle insurance |
mortgage_by | String | The entity or party by which the vehicle is mortgaged |
reg_date | String | The registration date of the vehicle (YYYY-MM-DD) |
Field | Type | Description |
---|---|---|
model | String | The year of the vehicle model |
origin | String | The country of origin of the vehicle |
vehicle_type | String | The type or model of the vehicle |
gvw | String | Gross Vehicle Weight of the vehicle |
engine_number | String | The engine number of the vehicle |
chassis_number | String | The chassis number or VIN of the vehicle |
number_of_pass | String | The maximum number of passengers allowed |
empty_weight | String | The weight of the vehicle when empty |
{
"data": {
"client_id": "ocr_uae_vehicle_license_EQMptCCymwptPtyTwrFT",
"ocr_front_response": {
"traffic_plate_number": "7220007374",
"place_of_issue": "خطاب",
"tc_number": "M/76123",
"nationality": "SRI LANKA",
"owner": "CHAMARA MADUSANK",
"expiry_date": "2024-11-05",
"ins_expiry": "2024-12-05",
"policy_number": "30/101312345",
"mortgage_by": "142",
"reg_date": "2023-11-07"
},
"ocr_back_response": {
"model": "2018",
"origin": "Japan",
"vehicle_type": "NISSAN X-TRAIL",
"gvw": "2202",
"engine_number": "QR252123456M",
"chassis_number": "JN1BT2MW7JW12345678",
"number_of_pass": "5",
"empty_weight": "1785"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ocr/uae-vehicle-license' \
--form 'front=@""' \
--form 'back=@""'
{
"data": {
"client_id": "ocr_uae_vehicle_license_EQMptCCymwptPtyTwrFT",
"ocr_front_response": {
"traffic_plate_number": "7220007374",
"place_of_issue": "خطاب",
"tc_number": "M/76123",
"nationality": "SRI LANKA",
"owner": "CHAMARA MADUSANK",
"expiry_date": "2024-11-05",
"ins_expiry": "2024-12-05",
"policy_number": "30/101312345",
"mortgage_by": "142",
"reg_date": "2023-11-07"
},
"ocr_back_response": {
"model": "2018",
"origin": "Japan",
"vehicle_type": "NISSAN X-TRAIL",
"gvw": "2202",
"engine_number": "QR252123456M",
"chassis_number": "JN1BT2MW7JW12345678",
"number_of_pass": "5",
"empty_weight": "1785"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}