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 |
---|---|---|---|
traffic_file_no | String | Yes | The Traffic File Number associated with the vehicle or driver in Dubai |
{
"traffic_file_no": "12329428"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the challan information |
data.client_id | String | Unique identifier for the API request |
data.traffic_file_no | String | The Traffic File Number that was queried |
data.number_of_challan | String | Total number of challans associated with the traffic file |
data.total_amount | String | Total amount due for all challans (in AED) |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates if the API request was successful |
message | String | Human-readable description of the response status |
message_code | String | Machine-readable code representing the response status |
{
"data": {
"client_id": "dubai_vehicle_challan_pqjNGamUYyhunmukozed",
"traffic_file_no": "123456789",
"number_of_challan": "1",
"total_amount": "50.0"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid traffic file number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/dubai-vehicle/challan' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"traffic_file_no": "12329428"
}'
{
"data": {
"client_id": "dubai_vehicle_challan_pqjNGamUYyhunmukozed",
"traffic_file_no": "123456789",
"number_of_challan": "1",
"total_amount": "50.0"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}