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 | JWT Bearer token for authentication. Format: Bearer YOUR_JWT_TOKEN |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique client ID received from the document submission endpoint |
{
"client_id": "ocr_vehicle_insurance_ukmvplRutiGWpsjHUyeO"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the extracted insurance document data |
data.client_id | String | Unique client ID that was sent in the request |
data.policy_number | String | Extracted policy number from the insurance document |
data.policy_issue_date | String | Date when the policy was issued (YYYY-MM-DD format) |
data.policy_start_date | String | Date when the policy coverage begins (YYYY-MM-DD format) |
data.policy_end_date | String | Date when the policy coverage expires (YYYY-MM-DD format) |
data.insurance_company | String | Name of the insurance company that issued the policy |
data.vehicle_number | String | Vehicle registration number |
data.vehicle_segment | String | Vehicle segment classification (may be null if not available) |
data.make | String | Vehicle manufacturer name |
data.model | String | Vehicle model name |
data.manufacture_year | Integer | Year when the vehicle was manufactured |
data.fuel_type | String | Type of fuel used by the vehicle |
data.seating_capacity | String | Number of seats in the vehicle |
data.gross_vehicle_weight | String | Gross weight of the vehicle |
data.cubic_capacity | String | Engine capacity in cubic centimeters |
data.compulsory_personal_accident_cover | String | Personal accident coverage amount |
data.no_claim_bonus | String | No claim bonus details (may be null if not available) |
data.own_damage | String | Own damage insurance coverage amount |
data.third_party | String | Third party insurance coverage amount |
data.status | String | Status of the OCR processing (processing, success, or failed) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API request was successful |
message | String | Human-readable message describing the result |
message_code | String | Code representing the message type |
{
"data": {
"client_id": "ocr_vehicle_insurance_ukmvplRutiGWpsjHUyeO",
"policy_number": "1234/03123456/000/00",
"policy_issue_date": "2023-03-07",
"policy_start_date": "2023-03-06",
"policy_end_date": "2024-03-05",
"insurance_company": "CHOLAMANDALAM MS GENERAL INSURANCE COMPANY LTD",
"vehicle_number": "TN-12-AA-3459",
"vehicle_segment": null,
"make": "ASHOK LEYLAND",
"model": "DOST-RLS BSIV",
"manufacture_year": 2013,
"fuel_type": "DIESEL",
"seating_capacity": "2",
"gross_vehicle_weight": "2435",
"cubic_capacity": "1478",
"compulsory_personal_accident_cover": "1,500,000.00",
"no_claim_bonus": null,
"own_damage": "4,584.00",
"third_party": "16,049.00",
"status": "success"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid client_id provided",
"message_code": "invalid_client_id"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ocr/vehicle-insurance/status' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "ocr_vehicle_insurance_ukmvplRutiGWpsjHUyeO"
}'
{
"data": {
"client_id": "ocr_vehicle_insurance_ukmvplRutiGWpsjHUyeO",
"policy_number": "1234/03123456/000/00",
"policy_issue_date": "2023-03-07",
"policy_start_date": "2023-03-06",
"policy_end_date": "2024-03-05",
"insurance_company": "CHOLAMANDALAM MS GENERAL INSURANCE COMPANY LTD",
"vehicle_number": "TN-12-AA-3459",
"vehicle_segment": null,
"make": "ASHOK LEYLAND",
"model": "DOST-RLS BSIV",
"manufacture_year": 2013,
"fuel_type": "DIESEL",
"seating_capacity": "2",
"gross_vehicle_weight": "2435",
"cubic_capacity": "1478",
"compulsory_personal_accident_cover": "1,500,000.00",
"no_claim_bonus": null,
"own_damage": "4,584.00",
"third_party": "16,049.00",
"status": "success"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}