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 |
---|---|---|---|
rc_number | String | Yes | Registration Certificate number of the vehicle |
chassis_number | String | Yes | Chassis number of the vehicle |
engine_number | String | Yes | Engine number of the vehicle |
state_only | Boolean | No | When set to true, restricts search to specified states only |
state_portal | Array of Enum | No | List of state portals to search (DL, TS, KA, GJ) |
{
"rc_number": "HR55AP0244",
"chassis_number": "MA3JMTB1SPB851591",
"engine_number": "K10CNC265773",
"state_only": false,
"state_portal": [
"DL",
"TS",
"KA",
"GJ"
]
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the response data |
data.client_id | String | Unique identifier for the API request |
data.challan_details | Object | Contains challan information |
data.challan_details.challans | Array | List of challan records |
data.challan_details.blacklist | Array | List of blacklist records (if any) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Additional message (null if successful) |
message_code | String | Code indicating the status of the request |
Parameter | Type | Description |
---|---|---|
number | Integer | Serial number of the challan |
challan_number | String | Unique challan identification number |
offense_details | String | Description of the traffic violation |
challan_place | String | Location where the violation occurred |
challan_date | String | Date of the challan in YYYY-MM-DD format |
state | String | State where the challan was issued |
rto | String | Regional Transport Office details |
upstream_code | String | Source system identifier |
accused_name | String | Name of the person accused of the violation |
amount | Float | Fine amount for the violation |
challan_status | String | Current status of the challan (e.g., "Pending") |
court_challan | Boolean | Indicates if the challan requires court appearance |
{
"data": {
"client_id": "rc_related_UgaxohwEraUGgovAugEF",
"challan_details": {
"challans": [
{
"number": 1,
"challan_number": "DL112345678978",
"offense_details": "Disobeying Lawful Directions",
"challan_place": null,
"challan_date": "2024-01-25",
"state": "DL",
"rto": null,
"upstream_code": "CENTRAL",
"accused_name": "MUNNA BHAIYA",
"amount": 19500,
"challan_status": "Pending",
"court_challan": true
},
{
"number": 2,
"challan_number": "DL12345698789",
"offense_details": "Allowing Unauthorised Person To Drive",
"challan_place": null,
"challan_date": "2023-11-25",
"state": "DL",
"rto": null,
"upstream_code": "CENTRAL",
"accused_name": "KALEEN BHAIYA",
"amount": 15000,
"challan_status": "Pending",
"court_challan": true
},
{
"number": 1,
"challan_number": "12345678",
"offense_details": "OVER SPEED (Light Motor Vehicle)",
"challan_place": "MIRZAPUR",
"challan_date": "2023-11-26",
"state": "DL",
"rto": null,
"upstream_code": "DL1",
"accused_name": "GUDDU BHAIYA",
"amount": 2000,
"challan_status": null,
"court_challan": null
},
{
"number": 2,
"challan_number": "123456",
"offense_details": "Violating stop line",
"challan_place": "LODHI ROAD",
"challan_date": "2022-08-03",
"state": "DL",
"rto": null,
"upstream_code": "DL1",
"accused_name": "RATI SHANKAR SHUKLA",
"amount": 500,
"challan_status": null,
"court_challan": null
}
],
"blacklist": []
}
},
"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-related/challan-details' \
--header 'Content-Type: application/json' \
--data-raw '{
"rc_number": "HR55AP0244",
"chassis_number": "MA3JMTB1SPB851591",
"engine_number": "K10CNC265773",
"state_only": false,
"state_portal": [
"DL",
"TS",
"KA",
"GJ"
]
}'
{
"data": {
"client_id": "rc_related_UgaxohwEraUGgovAugEF",
"challan_details": {
"challans": [
{
"number": 1,
"challan_number": "DL112345678978",
"offense_details": "Disobeying Lawful Directions",
"challan_place": null,
"challan_date": "2024-01-25",
"state": "DL",
"rto": null,
"upstream_code": "CENTRAL",
"accused_name": "MUNNA BHAIYA",
"amount": 19500,
"challan_status": "Pending",
"court_challan": true
},
{
"number": 2,
"challan_number": "DL12345698789",
"offense_details": "Allowing Unauthorised Person To Drive",
"challan_place": null,
"challan_date": "2023-11-25",
"state": "DL",
"rto": null,
"upstream_code": "CENTRAL",
"accused_name": "KALEEN BHAIYA",
"amount": 15000,
"challan_status": "Pending",
"court_challan": true
},
{
"number": 1,
"challan_number": "12345678",
"offense_details": "OVER SPEED (Light Motor Vehicle)",
"challan_place": "MIRZAPUR",
"challan_date": "2023-11-26",
"state": "DL",
"rto": null,
"upstream_code": "DL1",
"accused_name": "GUDDU BHAIYA",
"amount": 2000,
"challan_status": null,
"court_challan": null
},
{
"number": 2,
"challan_number": "123456",
"offense_details": "Violating stop line",
"challan_place": "LODHI ROAD",
"challan_date": "2022-08-03",
"state": "DL",
"rto": null,
"upstream_code": "DL1",
"accused_name": "RATI SHANKAR SHUKLA",
"amount": 500,
"challan_status": null,
"court_challan": null
}
],
"blacklist": []
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}