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 |
---|---|---|---|
rc_number | String | Yes | Vehicle registration number (e.g., "MH12VV1999") |
provider_name | String | Yes | Name of the FASTag service provider (e.g., "idfc_first_bank") |
{
"rc_number": "MH12VV1999",
"provider_name": "idfc_first_bank"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the FASTag details |
data.client_id | String | Unique identifier for the client request |
data.rc_number | String | Vehicle registration number provided in the request |
data.provider_name | String | Name of the service provider provided in the request |
data.provider_code | String | Unique code identifying the FASTag provider |
data.customer_name | String | Name of the FASTag account holder |
data.available_recharge_limit | String | Maximum amount that can be recharged to the FASTag |
data.available_balance | String | Current balance available in the FASTag account |
data.tag_status | String | Current status of the FASTag (e.g., "Activated") |
data.vehicle_class | String | Numeric code representing the vehicle class |
data.vehicle_class_desc | String | Description of the vehicle class (e.g., "Car / Jeep / Van") |
data.model_name | String or null | Model name of the vehicle if available |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "rc_to_fastag_balance_fChZGKuhyAUEMoTVKrFB",
"rc_number": "MH12VV1234",
"provider_name": "idfc_first_bank",
"provider_code": "IDFC88000PATXM",
"customer_name": "SURAJ SHRIRAM KALE",
"available_recharge_limit": "9491",
"available_balance": "509",
"tag_status": "Activated",
"vehicle_class": "4",
"vehicle_class_desc": "Car / Jeep / Van",
"model_name": null
},
"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/rc-to-fastag-balance' \
--header 'Content-Type: application/json' \
--data-raw '{
"rc_number": "MH12VV1999",
"provider_name": "idfc_first_bank"
}'
{
"data": {
"client_id": "rc_to_fastag_balance_fChZGKuhyAUEMoTVKrFB",
"rc_number": "MH12VV1234",
"provider_name": "idfc_first_bank",
"provider_code": "IDFC88000PATXM",
"customer_name": "SURAJ SHRIRAM KALE",
"available_recharge_limit": "9491",
"available_balance": "509",
"tag_status": "Activated",
"vehicle_class": "4",
"vehicle_class_desc": "Car / Jeep / Van",
"model_name": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}