Feel free to reach techsupport@surepass.io for any technical support or guidance.
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token for API authentication (JWT format) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
state_name | String | Yes | The state identifier where the toll plaza is located (e.g., "uttarakhand") |
toll_plaza_name | String | Yes | The name of the specific toll plaza for which rates are requested (e.g., "bahadrabad") |
{
"state_name": "uttarakhand",
"toll_plaza_name": "bahadrabad"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container object holding the response data |
data.client_id | String | Unique client identifier for tracking and audit purposes |
data.state_name | String | Echoed state name from the request for confirmation |
data.toll_plaza_name | String | Echoed toll plaza name from the request for confirmation |
data.car_toll_rate | Object | Toll rates for passenger cars |
data.lcv_toll_rate | Object | Toll rates for Light Commercial Vehicles (LCV) |
data.bus_toll_rate | Object | Toll rates for buses |
data.three_axle_vehicle_toll_rate | Object | Toll rates for three-axle commercial vehicles |
data.four_to_six_axle_toll_rate | Object | Toll rates for four to six axle heavy commercial vehicles |
data.seven_or_more_axle_toll_rate | Object | Toll rates for seven or more axle heavy commercial vehicles |
data.hcm_eme_toll_rate | Object | Toll rates for Heavy Construction Machinery/Earth Moving Equipment |
status_code | Number | HTTP status code indicating request success/failure |
success | Boolean | Flag indicating overall request success status |
message | String | Human-readable response message (null on success) |
message_code | String | Internal status code for programmatic handling |
Rate Type | Description |
---|---|
single_journey | One-way toll charge in INR |
return_journey | Round-trip toll charge in INR (typically discounted) |
monthly_pass | Monthly unlimited pass cost in INR |
commercial_vehicle_reg_in_district | Special discounted rate for commercial vehicles registered in the toll plaza's district |
{
"data": {
"client_id": "toll_price_details_scsZzuIttoxDgZIttjRk",
"state_name": "uttarakhand",
"toll_plaza_name": "bahadrabad",
"car_toll_rate": {
"single_journey": "130",
"return_journey": "195",
"monthly_pass": "4325",
"commercial_vehicle_reg_in_district": "65"
},
"lcv_toll_rate": {
"single_journey": "210",
"return_journey": "315",
"monthly_pass": "6990",
"commercial_vehicle_reg_in_district": "105"
},
"bus_toll_rate": {
"single_journey": "440",
"return_journey": "660",
"monthly_pass": "14645",
"commercial_vehicle_reg_in_district": "220"
},
"three_axle_vehicle_toll_rate": {
"single_journey": "480",
"return_journey": "720",
"monthly_pass": "15975",
"commercial_vehicle_reg_in_district": "240"
},
"four_to_six_axle_toll_rate": {
"single_journey": "690",
"return_journey": "1035",
"monthly_pass": "22960",
"commercial_vehicle_reg_in_district": "345"
},
"seven_or_more_axle_toll_rate": {
"single_journey": "840",
"return_journey": "1260",
"monthly_pass": "420",
"commercial_vehicle_reg_in_district": "27960"
},
"hcm_eme_toll_rate": {
"single_journey": "690",
"return_journey": "1035",
"monthly_pass": "345",
"commercial_vehicle_reg_in_district": "22960"
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid toll plaza name or state combination",
"message_code": "invalid_plaza_state"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/nhai/toll-price-details' \
--header 'Content-Type: application/json' \
--data-raw '{
"state_name": "uttarakhand",
"toll_plaza_name": "bahadrabad"
}'
{
"data": {
"client_id": "toll_price_details_scsZzuIttoxDgZIttjRk",
"state_name": "uttarakhand",
"toll_plaza_name": "bahadrabad",
"car_toll_rate": {
"single_journey": "130",
"return_journey": "195",
"monthly_pass": "4325",
"commercial_vehicle_reg_in_district": "65"
},
"lcv_toll_rate": {
"single_journey": "210",
"return_journey": "315",
"monthly_pass": "6990",
"commercial_vehicle_reg_in_district": "105"
},
"bus_toll_rate": {
"single_journey": "440",
"return_journey": "660",
"monthly_pass": "14645",
"commercial_vehicle_reg_in_district": "220"
},
"three_axle_vehicle_toll_rate": {
"single_journey": "480",
"return_journey": "720",
"monthly_pass": "15975",
"commercial_vehicle_reg_in_district": "240"
},
"four_to_six_axle_toll_rate": {
"single_journey": "690",
"return_journey": "1035",
"monthly_pass": "22960",
"commercial_vehicle_reg_in_district": "345"
},
"seven_or_more_axle_toll_rate": {
"single_journey": "840",
"return_journey": "1260",
"monthly_pass": "420",
"commercial_vehicle_reg_in_district": "27960"
},
"hcm_eme_toll_rate": {
"single_journey": "690",
"return_journey": "1035",
"monthly_pass": "345",
"commercial_vehicle_reg_in_district": "22960"
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}