BusRequery

Post   https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery


The BusRequery API is used to retrieve the complete details of a previously initiated bus ticket booking. It helps to re-validate or confirm the status of a booking, fetch passenger and bus information, and track booking progress—especially useful in cases of pending or delayed payment confirmations.

Body Parameters
{
    "booking_RefNo": "BBB6YLRP",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
}
Request Parameters
Name Type Description
booking_RefNo String This requires the booking reference number, which is obtained from the Bus_TempBooking response.
iP_Address String Belongs to the same server from which the API calls are made and where you will be consuming the API.
request_Id String Can be used as a unique identifier assigned to each user's individual request.
Responses

200

200

Response

200

RESPONSE BODY

Json

401

401

Response

401

RESPONSE BODY

Object

responsecode integer

status boolean

message string


Did this page help you?     Yes    No

Language
shell Shell
python Python
node Node
c# C#
php PHP

cURL

curl --location --request POST 'https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery' \
--header 'Content-Type: application/json' \
--data  '{
  "booking_RefNo": "BBB6YLRP",
  "iP_Address": "27.XXX.XX.76",
  "request_Id": "REQ123456",
  "imeI_Number": "353535353535353",
  "registrationID": "AOP-554"
}'
                                
import requests
import json

url = 'https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery'
payload = "{
    "booking_RefNo": "BBB6YLRP",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
}" 

headers = {
  "Content-type" : "application/json"
}

response = requests.request("POST", url, headers=headers, data=payload)

print (response.text)
                                
var requests = require("request");
var options = { 
  "method" : "POST",
  "url" : 'https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: '{
    "booking_RefNo": "BBB6YLRP",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }' 
}; 
request(options, function(error, response){
   if(error) throw new Error(error);
   console.log(response.body); 
}); 
                                
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get,'https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery')
var content = new StringContent(
  "{
    "booking_RefNo": "BBB6YLRP",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }",
  null,"application/json"
); 

request.Content = content;
var response =  await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
                                
<?php
$curl =  curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL =>  'https://travel.bospay.co.in/api/V1/Bus/Travel/BusRequery',
  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 =>  '{
    "booking_RefNo": "BBB6YLRP",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

{
"bookingChangeRequests": [],
"bookingDate": "20/06/2025 12:07:02",
"bookingPaymentDetails": [],
"booking_RefNo": "BBB6YLRP",
"bus_Detail": {
     "ac": true,
     "arrival_Time": "10:30 PM",
     "boardingDetails": {
        "boarding_Address": "sa",
        "boarding_Contact": "1234567890",
        "boarding_Id": "24514",
        "boarding_Landmark": "ASD",
        "boarding_Name": "Koramangala",
        "boarding_Time": "10:00 PM",
        "filler": null
     }, 
"bus_Type": "hispano A/C Seater King Size A/c Family Sleeper (1+1)",
"cancellationPolicy": "Within 3 hours of departure time - 100%;From 3 to 5 hours from departure time - 50%;From 5 to 12 hours from departure time - 25%;Before 12 hours of departure time - 10%;",
"departure_Time": "10:00 PM",
"droppingDetails": {
     "dropping_Address": "ewrwtr",
     "dropping_Contact": "sdf",
     "dropping_Id": "156524",
     "dropping_Landmark": null,
     "dropping_Name": "Dahisar",
     "dropping_Time": "10:30 PM",
     "filler": null
   }, 
 "free_WIFI": false,
 "from_City": "Bangalore",
 "lastMinute_Zero_Cancellation": false,
 "live_Tracking": false,
 "operator_Id": "10419079",
 "operator_Name": "Sprint 399 Travels",
 "partial_Cancellation_Allowed": true,
 "remarks": "testing",
 "seat_Type": 0,
 "supplier_RefNo": "",
 "to_City": "Chennai",
 "travelDate": "12/09/2025",
 "vehicle_Type": "BUS",
 "mTicket": true
}, 
"cancellationPolicy": "Within 3 hours of departure time - 100%;From 3 to 5 hours from departure time - 50%;From 5 to 12 hours from departure time - 25%;Before 12 hours of departure time - 10%;",
"companyDetail": [
{ 
      "address": "Delhi, India",
      "city": "Delhi",
      "companyName": "BOS Travel",
      "contactPerson": "Tester",
      "country": "India",
      "email": "info@bos.center",
      "fax": "",
      "gstNo": "29AADXXX230M1ZP",
      "logo": "",
      "mobileNo": "89XXXXXX05",
      "panNo": "POAQN5555A",
      "pincode": "110059",
      "sacCode": "44225586",
      "state": "Delhi",
      "website": "bos.center"
} 
], 
"corporatePaymentMode": 0,
"customerDetail": {
    "customer_Address": "",
    "customer_City": "",
    "customer_Email": "demo@example.com",
    "customer_Id": null,
    "customer_Mobile": "99XX99XX99",
    "customer_Name": "FName LName"
}, 
"noofPax": "1",
"paX_Details": [
    { 
    "age": 21,
    "dob": null,
    "fare": {
       "basic_Amount": 100,
       "cancellation_Charges": 0,
       "fareDetails": [],
       "gst": 0,
       "gross_Commission": 0,
       "net_Commission": 0,
       "other_Amount": 5,
       "service_Fee_Amount": 0,
       "total_Amount": 105,
      "trade_Markup_Amount": 0
}, 
   "gender": 0,
   "id_Number": null,
   "id_Type": 0,
   "ladies_Seat": false,
   "paX_Id": 0,
   "paX_Name": "BOS",
   "penalty_Charge": null,
   "primary": false,
   "seat_Number": "14",
   "status": "Confirmed",
   "ticket_Number": "BBB6YLRP0",
   "title": "Mr"
} 
"age": 24,
"dob": null,
"fare": {
     "basic_Amount": 100,
     "cancellation_Charges": 0,
     "fareDetails": [],
     "gst": 0,
     "gross_Commission": 0,
     "net_Commission": 0,
     "other_Amount": 5,
     "service_Fee_Amount": 0,
     "total_Amount": 105,
     "trade_Markup_Amount": 0
}, 
   "gender": 0,
   "id_Number": null,
   "id_Type": 0,
   "ladies_Seat": false,
   "paX_Id": 1,
   "paX_Name": "BOS CENTER",
   "penalty_Charge": null,
   "primary": false,
   "seat_Number": "12",
   "status": "Payment Pending",
   "ticket_Number": "BBB6YDAT1",
   "title": "Mrs"
], 
"response_Header": {
    "error_Code": "0000",
    "error_Desc": "SUCCESS",
    "error_InnerException": "",
    "request_Id": "REQ123456",
    "status_Id": "11"
}, 
"retailerDetail": {
    "email_Id": "123test123@gmail.com",
    "mobile_Number": "89XXXXXX05",
    "operator_Name": null,
    "retailerServiceFee": 0,
    "retailer_Address": "Delhi",
    "retailer_Area": "",
    "retailer_City": "Delhi",
    "retailer_CompanyName": "bostravel",
    "retailer_Email": "123test123@gmail.com",
    "retailer_GSTno": "",
    "retailer_Id": "MHAA000146",
    "retailer_Landmark": "",
    "retailer_Name": "BOS",
    "retailer_PANno": "",
    "retailer_Pincode": "110059",
    "retailer_State": "DELHI"
}, 
"ticket_Status_Desc": "Confirmed",
"ticket_Status_Id": "0",
"transport_PNR": "",
"statuss": "True",
"message": "Transaction successfully",
"value": ""

}
                                
{
    "code": "207",
    "description": "Amount is Requaired",
    "merchantTrxnRefId": null,
    "token": null,
    "status": "False"
}