API Documentation DH-Boss


Vehicle e Challan Check API - DHBOSS API

Vehicle e Challan Check API - In India, when a vehicle owner violates traffic rules, he/she is handed over a ticket called a manual traffic police challan that mentions the violation and the penalty for disobeying traffic rules and regulations. However, issuing physical traffic challans is not only cumbersome, but there are high chances that the violator may go scot-free by paying a fraction of the original amount. Also, with a physical traffic challan, the payment process is time-consuming as the vehicle owner has to go to the nearest RTO office to make the e challan payment. To solve this problem, the Ministry of Road Transport and Highways (MoRTH) introduced traffic e challan, which is simply a traffic challan in electronic form. This integrated information technology-based enforcement platform can be used by traffic personnel to issue traffic e challans in real-time and levy fines according to the rules set forth by the New MV Act of 2019. - docs.dhboss.com


GET/POST : CHALLAN_INFO

What is needed to use this API and how it will work is described below -
Your Api Key : Get API In Profile & eKYC

Input Parameters Detail
Name Type Description Mandatory
registration_no String {Enter Value} Yes
apikeyfill String {Enter Value} Yes

Output Parameters Detail
Name Type Description
code integer 200
status string success
response.request_id string aclb7695-5a47-42ad-8fd6-09edebdc3926
response.vehicleId string UP01XX0000
response.total integer 1
response.challans.0.challan_no string UP4945270000000
response.challans.0.date string 2024-02-21 11:46:00
response.challans.0.rc_dl_no string UP01XX0000
response.challans.0.lat_long NULL
response.challans.0.vehicle_class string
response.challans.0.transaction_id string NA
response.challans.0.owner_name string RAHUL
response.challans.0.accused_name string
response.challans.0.challan_status string Pending
response.challans.0.payment_source string
response.challans.0.payment_date string
response.challans.0.amount integer 1000
response.challans.0.state string UP
response.challans.0.area string Kanpur Nagar
response.challans.0.offences.0.offence_name string Driving Two-wheeled without helmets
response.challans.0.offences.0.penalty string 1000
response.challans.0.offences.1.offence_name string Driving Two-wheeled without helmets
response.challans.0.offences.1.penalty string 1000






Call API URL
https://api.dhboss.com/apicall/challan_info/
API Call Request Parameters
registration_no=value&apikeyfill=value                                                   
API Call Example Request
<?php

$url = "https://api.dhboss.com/apicall/challan_info/";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$data = 'registration_no=VALUE&apikeyfill=KEY';
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
echo $response = curl_exec($curl);
curl_close($curl);


?>
API Hit Example Response
{
  "code": 200,
  "status": "success",
  "response": {
    "request_id": "aclb7695-5a47-42ad-8fd6-09edebdc3926",
    "vehicleId": "UP01XX0000",
    "total": 1,
    "challans": [
      {
        "challan_no": "UP4945270000000",
        "date": "2024-02-21 11:46:00",
        "rc_dl_no": "UP01XX0000",
        "lat_long": null,
        "vehicle_class": "",
        "transaction_id": "NA",
        "owner_name": "RAHUL",
        "accused_name": "",
        "challan_status": "Pending",
        "payment_source": "",
        "payment_date": "",
        "amount": 1000,
        "state": "UP",
        "area": "Kanpur Nagar",
        "offences": [
          {
            "offence_name": "Driving Two-wheeled without helmets",
            "penalty": "1000"
          },
          {
            "offence_name": "Driving Two-wheeled without helmets",
            "penalty": "1000"
          }
        ]
      }
    ]
  }
}