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_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
fastag_id | String | Yes | The unique identifier for the FasTag that is linked to a vehicle |
{
"fastag_id": "34161FA820328EE829DC9307"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the result data |
data.client_id | String | Unique identifier for the client making the request |
data.fastag_id | String | The FasTag ID that was provided in the request |
data.rc_number | String | The vehicle registration number associated with the FasTag |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates whether the 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": "fastag_to_rc_advanced_zhuMDqKjAifTsNuvgjQa",
"fastag_id": "76341FA820328EE829DC9200",
"rc_number": "MH12VL1234"
},
"status_code": 200,
"success": true,
"message": "Success",
"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/fastag/fastag-to-rc-advanced' \
--header 'Content-Type: application/json' \
--data-raw '{
"fastag_id": "34161FA820328EE829DC9307"
}'
{
"data": {
"client_id": "fastag_to_rc_advanced_zhuMDqKjAifTsNuvgjQa",
"fastag_id": "76341FA820328EE829DC9200",
"rc_number": "MH12VL1234"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}