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 | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | Vehicle registration certificate (RC) number |
{
"id_number": "GJ01RV8999"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the vehicle ownership information |
data.client_id | String | Unique identifier for the request |
data.rc_number | String | Registration number of the vehicle |
data.current_owner_number | String | Current owner's position in the ownership sequence |
data.current_owner_name | String | Name of the current vehicle owner |
data.owner_history | Array | List of all owners (past and current) in chronological order |
data.owner_history[].owner_name | String | Name of the owner |
data.owner_history[].owner_number | String | Sequential number indicating order of ownership |
status_code | Number | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Additional information about the response (null if successful) |
message_code | String | Code indicating the status of the response |
{
"data": {
"client_id": "rc_owner_history_fItRxcCeVoihtfxjggcF",
"rc_number": "GJ01RV8123",
"current_owner_number": "3",
"current_owner_name": "MAHAMMADALI",
"owner_history": [
{
"owner_name": "HEMPREET SINGH BAJAJ",
"owner_number": "1"
},
{
"owner_name": "VARUNKUMAR DINESHKUMAR GADHAVI",
"owner_number": "2"
},
{
"owner_name": "MAHAMMADALI",
"owner_number": "3"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/rc/rc-owner-history' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "GJ01RV8999"
}'
{
"data": {
"client_id": "rc_owner_history_fItRxcCeVoihtfxjggcF",
"rc_number": "GJ01RV8123",
"current_owner_number": "3",
"current_owner_name": "MAHAMMADALI",
"owner_history": [
{
"owner_name": "HEMPREET SINGH BAJAJ",
"owner_number": "1"
},
{
"owner_name": "VARUNKUMAR DINESHKUMAR GADHAVI",
"owner_number": "2"
},
{
"owner_name": "MAHAMMADALI",
"owner_number": "3"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}