Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API 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 identifier received from the initial challan verification request. This links the OTP to the specific challan query session. |
| otp | string | Yes | 6-digit OTP code sent to the registered mobile number or generated by the system. Must be submitted within the validity period (typically 5-10 minutes). |
{
"client_id": "maharashtra_challan_afqOprZOdrcDazuUndHP",
"otp": "123456"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding all challan information |
| data.client_id | string | Echo of the client_id from the request for reference tracking |
| data.rc_number | string | Vehicle registration number (RC number) for which challans were retrieved |
| data.chassis_number | string | Chassis number of the vehicle |
| data.challan_details | array | Array of challan objects containing detailed information about each traffic violation |
| challan_details[].challan_number | string | Unique challan identification number issued by traffic authorities |
| challan_details[].amount | string | Total payable amount for the challan (formatted with comma separators) |
| challan_details[].rc_number | string | Vehicle registration number associated with this specific challan |
| challan_details[].towing_amount | string | Additional charges for vehicle towing (empty if not applicable) |
| challan_details[].challan_date | string | Date when the challan was issued (YYYY-MM-DD format) |
| challan_details[].challan_date_time | string | Complete timestamp of challan issuance (ISO 8601 format) |
| challan_details[].accused_name | string | Name of the person accused of the traffic violation (may be empty) |
| challan_details[].license_number | string | Driving license number of the accused (if available) |
| challan_details[].status | string | Payment status of the challan: "Paid" or "Unpaid" |
| challan_details[].offense_details | array | Array of offense objects detailing the specific violations |
| offense_details[].section | string | Motor Vehicle Act (MVA) section under which the violation falls |
| offense_details[].description | string | Human-readable description of the traffic offense |
| offense_details[].fine | string | Fine amount specified for this particular offense |
| status_code | integer | HTTP status code (200 for success) |
| success | boolean | Indicates whether the API call was successful (true/false) |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the message status |
{
"data": {
"client_id": "maharashtra_challan_afqOprZOdrcDazuUndHP",
"rc_number": "MH01TE1234",
"chassis_number": "ME1KC111DH0123272",
"challan_details": [
{
"challan_number": "MUMCM19001244123",
"amount": "1,200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2019-01-01",
"challan_date_time": "2019-01-01T16:53:00",
"accused_name": "MOHAMMAD SAJJAD IDRISI",
"license_number": "",
"status": "Unpaid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
},
{
"challan_number": "MUMCM19001244134",
"amount": "200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2018-01-01",
"challan_date_time": "2018-01-01T15:10:00",
"accused_name": "",
"license_number": "",
"status": "Unpaid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
},
{
"challan_number": "MUMCM19001244136",
"amount": "200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2018-02-02",
"challan_date_time": "2018-02-02T14:50:00",
"accused_name": "",
"license_number": "MH0220080031345",
"status": "Paid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid client_id",
"message_code": "invalid_client_id"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/maharashtra-challan/submit-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "maharashtra_challan_afqOprZOdrcDazuUndHP",
"otp": "123456"
}'{
"data": {
"client_id": "maharashtra_challan_afqOprZOdrcDazuUndHP",
"rc_number": "MH01TE1234",
"chassis_number": "ME1KC111DH0123272",
"challan_details": [
{
"challan_number": "MUMCM19001244123",
"amount": "1,200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2019-01-01",
"challan_date_time": "2019-01-01T16:53:00",
"accused_name": "MOHAMMAD SAJJAD IDRISI",
"license_number": "",
"status": "Unpaid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
},
{
"challan_number": "MUMCM19001244134",
"amount": "200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2018-01-01",
"challan_date_time": "2018-01-01T15:10:00",
"accused_name": "",
"license_number": "",
"status": "Unpaid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
},
{
"challan_number": "MUMCM19001244136",
"amount": "200",
"rc_number": "MH01TE1234",
"towing_amount": "",
"challan_date": "2018-02-02",
"challan_date_time": "2018-02-02T14:50:00",
"accused_name": "",
"license_number": "MH0220080031345",
"status": "Paid",
"offense_details": [
{
"section": "Sec 112/183(1) MVA (LMV).",
"description": "Speed violating by driver (LMV)",
"fine": "2000"
}
]
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}