API Documentation DH-Boss


FASTag Information API - DHBOSS API

FASTag Developer API - You can either check your recent SMS for your FASTag transaction, which will show you your current FASTag balance. Alternatively, if you have the NHAI FASTag, FASTag has been developed by the National Payments Corporation of India (NPCI) as part of its National Electronic Toll Collection (NETC) program to offer a nationwide electronic toll solution. FASTag devices are live at 650+ toll plazas across the country and are expected to grow rapidly. - docs.dhboss.com


GET/POST : FAST_TAG_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
status integer 0
message string Success
response.owner_name string Dummy Name
response.biller_id string TOLL00000NAT72
response.bank_name string ICICI Bank
response.operator_id integer 10
response.bank_icon_url NULL
response.min_max_error_message string Min recharge: ₹500 ; Max recharge: ₹7500
response.min_amount string 500
response.max_amount string 7500
response.bank_id integer 10
response.show_balance boolean 1
response.fastag_balance string 2041
response.fastag_balance_updated_at string 2021-03-16 17:14
response.vendor_id integer 8
response.fastag_recharge_status.status string PASS
response.fastag_recharge_status.bank_updated boolean 1
response.fastag_recharge_status.bank_updated_text string We have updated your FASTag Bank.
response.fastag_recharge_status.my_fastag_active_status string Active
response.fastag_recharge_status.my_fastag_activated_on string 2021-11-01
response.fastag_recharge_status.active_status string Active
response.fastag_recharge_status.activated_on string 2021-11-01
response.brand_icon string
response.model NULL
response.vehicle_number string Dummy
response.is_chasis boolean
response.raise_help_and_support_ticket boolean






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

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.dhboss.com/apicall/fast_tag_info/',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => 'registration_no=value&apikeyfill=5********5
',
 
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>
API Hit Example Response
{
  "status": 0,
  "message": "Success",
  "response": {
    "owner_name": "Dummy Name",
    "biller_id": "TOLL00000NAT72",
    "bank_name": "ICICI Bank",
    "operator_id": 10,
    "bank_icon_url": null,
    "min_max_error_message": "Min recharge: ₹500 ; Max recharge: ₹7500",
    "min_amount": "500",
    "max_amount": "7500",
    "bank_id": 10,
    "show_balance": true,
    "fastag_balance": "2041",
    "fastag_balance_updated_at": "2021-03-16 17:14",
    "vendor_id": 8,
    "fastag_recharge_status": {
      "status": "PASS",
      "bank_updated": true,
      "bank_updated_text": "We have updated your FASTag Bank.",
      "my_fastag_active_status": "Active",
      "my_fastag_activated_on": "2021-11-01",
      "active_status": "Active",
      "activated_on": "2021-11-01"
    },
    "brand_icon": "",
    "model": null,
    "vehicle_number": "Dummy",
    "is_chasis": false,
    "raise_help_and_support_ticket": false
  }
}