API Documentation DH-Boss


Traffic Challan Check API - DHBOSS API

Traffic 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 : traffic_challan

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
status integer 0
message string Success
response.0.title string ALPSV 4/186
response.1.vehicleNum string DJ14PC3700
response.2.ownerName string HARI Dummy
response.3.imageUrl string http://d1egxr9rlacnzd.cloudfront.net/unsafe/https://storage.googleapis.com/carinfocdn/cars2/LEYLAND/LOGO.png
response.4.ownership string First Owner
response.5.vehicleDetails.0.type string INSURANCE
response.5.vehicleDetails.0.label string Insurance Expires
response.5.vehicleDetails.0.value string 19-Sep-2023
response.5.vehicleDetails.1.type string PUCC
response.5.vehicleDetails.1.label string PUCC Expires
response.5.vehicleDetails.1.value string 07-Aug-2023
response.6.webAction NULL
response.7.0.challanId string DJ35638230444444856
response.7.0.source string REGULAR_COURT
response.7.0.violaterName string Full Dummy Name
response.7.0.date string 2023-03-24 18:08:56
response.7.0.amount string 600
response.7.0.status string Disposed
response.8.1.challanId string DJ3563823044444485654
response.8.1.source string REGULAR_COURT
response.8.1.violaterName string Full Dummy Name
response.8.1.date string 2023-03-14 18:53:54
response.8.1.amount string 1000
response.8.1.status string Disposed
response.9.2.challanId string DJ356382304444448652
response.9.2.source string REGULAR_COURT
response.9.2.violaterName string Full Dummy Name
response.9.2.date string 2023-02-06 18:06:52
response.9.2.amount string 1000
response.9.2.status string Disposed
response.10.3.challanId string RJ141892220828085110
response.10.3.source string REGULAR_COURT
response.10.3.violaterName string Full Dummy Name
response.10.3.date string 2022-08-28 08:51:10
response.10.3.amount string 200
response.10.3.status string Disposed
response.11.4.challanId string DJ35638230444444880221
response.11.4.source string REGULAR_COURT
response.11.4.violaterName string Full Dummy Name
response.11.4.date string 2022-08-02 08:02:21
response.11.4.amount string 2000
response.11.4.status string Disposed
response.12.5.challanId string DJ35638230444444811
response.12.5.source string REGULAR_COURT
response.12.5.violaterName string Full Dummy Name
response.12.5.date string 2022-02-10 14:36:11
response.12.5.amount string 400
response.12.5.status string Disposed
response.13.6.challanId string DJ356382304444448748
response.13.6.source string REGULAR_COURT
response.13.6.violaterName string Full Dummy Name
response.13.6.date string 2022-01-25 13:24:00
response.13.6.amount string 800
response.13.6.status string Disposed
response.14.7.challanId string DJ3563823044444482584
response.14.7.source string REGULAR_COURT
response.14.7.violaterName string Full Dummy Name
response.14.7.date string 2021-01-12 17:23:00
response.14.7.amount string 43700
response.14.7.status string Disposed
response.15.8.challanId string DJ3563823044444483331
response.15.8.source string REGULAR_COURT
response.15.8.violaterName string Full Dummy Name
response.15.8.date string 2020-02-26 13:00:00
response.15.8.amount string 0
response.15.8.status string Disposed
response.16.9.challanId string DJ3563823044444480933
response.16.9.source string REGULAR_COURT
response.16.9.violaterName string Full Dummy Name
response.16.9.date string 2019-10-11 11:01:00
response.16.9.amount string 500
response.16.9.status string Disposed






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

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

$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
{
  "status": 0,
  "message": "Success",
  "response": [
  {
    "title": "ALPSV 4/186"
  },
  {
    "vehicleNum": "DJ14PC3700"
  },
  {
    "ownerName": "HARI Dummy"
  },
  {
    "imageUrl": "http://d1egxr9rlacnzd.cloudfront.net/unsafe/https://storage.googleapis.com/carinfocdn/cars2/LEYLAND/LOGO.png"
  },
  {
    "ownership": "First Owner"
  },
  {
    "vehicleDetails": [
      {
        "type": "INSURANCE",
        "label": "Insurance Expires",
        "value": "19-Sep-2023"
      },
      {
        "type": "PUCC",
        "label": "PUCC Expires",
        "value": "07-Aug-2023"
      }
    ]
  },
  {
    "webAction": null
  },
  [
    {
      "challanId": "DJ35638230444444856",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2023-03-24 18:08:56",
      "amount": "600",
      "status": "Disposed"
    }
  ],
  {
    "1": {
      "challanId": "DJ3563823044444485654",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2023-03-14 18:53:54",
      "amount": "1000",
      "status": "Disposed"
    }
  },
  {
    "2": {
      "challanId": "DJ356382304444448652",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2023-02-06 18:06:52",
      "amount": "1000",
      "status": "Disposed"
    }
  },
  {
    "3": {
      "challanId": "RJ141892220828085110",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2022-08-28 08:51:10",
      "amount": "200",
      "status": "Disposed"
    }
  },
  {
    "4": {
      "challanId": "DJ35638230444444880221",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2022-08-02 08:02:21",
      "amount": "2000",
      "status": "Disposed"
    }
  },
  {
    "5": {
      "challanId": "DJ35638230444444811",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2022-02-10 14:36:11",
      "amount": "400",
      "status": "Disposed"
    }
  },
  {
    "6": {
      "challanId": "DJ356382304444448748",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2022-01-25 13:24:00",
      "amount": "800",
      "status": "Disposed"
    }
  },
  {
    "7": {
      "challanId": "DJ3563823044444482584",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2021-01-12 17:23:00",
      "amount": "43700",
      "status": "Disposed"
    }
  },
  {
    "8": {
      "challanId": "DJ3563823044444483331",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2020-02-26 13:00:00",
      "amount": "0",
      "status": "Disposed"
    }
  },
  {
    "9": {
      "challanId": "DJ3563823044444480933",
      "source": "REGULAR_COURT",
      "violaterName": "Full Dummy Name",
      "date": "2019-10-11 11:01:00",
      "amount": "500",
      "status": "Disposed"
    }
  }
]
}