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. Format: Bearer <your_jwt_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 needs to be verified |
{
"fastag_id": "34161FA123456EE81E41EAE0"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the retrieved vehicle and FASTag information |
data.client_id | String | Unique identifier for the client making the request |
data.fastag_id | String | The unique identifier for the FASTag that was queried |
data.rc_number | String | The registration number of the vehicle associated with the FASTag |
data.tag_status | String | Current status of the FASTag (e.g., ACTIVE, INACTIVE) |
data.vehicle_class | String | The class of the vehicle as registered with the FASTag |
data.issue_date | String | The date when the FASTag was issued (YYYY-MM-DD format) |
data.issuer_bank | String | The financial institution that issued the FASTag |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the API call was successful |
message | String | Human-readable description of the API call result |
message_code | String | Machine-readable code representing the API call result |
{
"data": {
"client_id": "fastag_to_rc_OPartnFuEJMAwiUTWbsA",
"fastag_id": "34161FA123456EE81E41EAE0",
"rc_number": "GJ05XX1234",
"tag_status": "ACTIVE",
"vehicle_class": "VC4",
"issue_date": "2022-10-20",
"issuer_bank": "IDFC Bank"
},
"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' \
--header 'Content-Type: application/json' \
--data-raw '{
"fastag_id": "34161FA123456EE81E41EAE0"
}'
{
"data": {
"client_id": "fastag_to_rc_OPartnFuEJMAwiUTWbsA",
"fastag_id": "34161FA123456EE81E41EAE0",
"rc_number": "GJ05XX1234",
"tag_status": "ACTIVE",
"vehicle_class": "VC4",
"issue_date": "2022-10-20",
"issuer_bank": "IDFC Bank"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}