ZuelPay
  1. Bus Booking API
  • API DOCUMENTS
  • Auth
  • Account
    • balance
      POST
  • Verification API
    • pan
      POST
    • voter
      POST
    • aadhar-genrate-otp
      POST
    • aadhar-verify
      POST
    • upi
      POST
    • bank
      POST
    • licesnce
      POST
    • passport
      POST
    • GSTIN LookUp
      POST
    • FASTAG
      POST
  • Recharge API
    • operators
      GET
    • payment
      POST
  • UPI PAYMENT API
    • payment
      POST
  • Operator Lookup API
    • operator_lookup
      POST
  • Mobile Tariff Plans
    • mobile_recharge_plans
      POST
  • Utility Bill Pay API
    • Get Category
    • Biller Lists
    • Biller Fetch
    • Biller Payment
  • Gift Card/ Brand Voucher API
    • Get Category
    • Brand Lists
    • Buy Giftcard Voucher
  • webhook/callback
    • webhook
  • Recharge Validation API
    • validation
  • PAYOUT API
    • payment
  • Flight Booking API
    • cityList
    • flightList
    • flightRePrice
    • flightBook
  • Bus Booking API
    • cityList
      GET
    • searchBus
      GET
    • seatLayout
      POST
    • blockSeat
      POST
    • bookSeat
      GET
    • cancelTicket
      POST
  1. Bus Booking API

bookSeat

GET
/travel/bus/bookSeat
Please pass blockTicketKey with url as param to book the bus, blockTicketKey u will get from block seat API response
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/travel/bus/bookSeat?blockTicketKey=PNRS0S232141805' \
--header 'Token: ZKEYza2COHK0QVkcVkwUb6WeIgWiS' \
--header 'checkSum: 739f448d1cc4f5bbbd048e68ba2b8885b0f8414ed4090ad967df7d15d7cdbbae' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sourceCity": "Hyderabad",
    "destinationCity": "Chennai",
    "doj": "2020-09-21",
    "routeScheduleId": "23214",
    "boardingPoint": {
        "id": "2224",
        "location": "S.R Nagar,ABC Complex KAVERI TRAVELS OFFICE ,Ph No : 7799888678,7799888674",
        "time": "10:00PM"
    },
    "customerName": "test",
    "customerLastName": "testing",
    "customerEmail": "test@gmail.com",
    "customerPhone": "9999999999",
    "emergencyPhNumber": "8888888888",
    "customerAddress": "kphp",
    "blockSeatPaxDetails": [
        {
            "age": "26",
            "name": "test123",
            "seatNbr": "3L",
            "sex": "M",
            "fare": 1280,
            "totalFareWithTaxes": 1344,
            "ladiesSeat": false,
            "lastName": "test456",
            "mobile": "7777777777",
            "title": "Mr",
            "email": "testing@gmail.com",
            "idType": "PAN",
            "idNumber": "AWk123232",
            "nameOnId": "test",
            "primary": true,
            "ac": false,
            "sleeper": false
        }
    ],
    "inventoryType": 0
}'
Response Response Example
{
    "status": "success",
    "callback_status": "Success",
    "tlid": "TB2020092116007054611F9E",
    "error": "",
    "message": "booking successful",
    "buspnr": "ABRS7322647",
    "BookingDetail": {
        "apiStatus": {
            "message": "SUCCESS",
            "success": true
        },
        "inventoryType": 0,
        "opPNR": "ABRS7322647",
        "commPCT": 0,
        "totalFare": 1344,
        "tripCode": null,
        "etstnumber": "ETS38B0PT10562"
    },
    "api_mode": "TEST"
}

Request

Query Params
blockTicketKey
string 
required
Example:
PNRS0S232141805
Header Params
Token
string 
required
Example:
ZKEYza2COHK0QVkcVkwUb6WeIgWiS
checkSum
string 
required
Example:
739f448d1cc4f5bbbd048e68ba2b8885b0f8414ed4090ad967df7d15d7cdbbae
Body Params application/json
sourceCity
string 
required
destinationCity
string 
required
doj
string 
required
routeScheduleId
string 
required
boardingPoint
object 
required
id
string 
required
location
string 
required
time
string 
required
customerName
string 
required
customerLastName
string 
required
customerEmail
string 
required
customerPhone
string 
required
emergencyPhNumber
string 
required
customerAddress
string 
required
blockSeatPaxDetails
array [object {17}] 
required
age
string 
optional
name
string 
optional
seatNbr
string 
optional
sex
string 
optional
fare
integer 
optional
totalFareWithTaxes
integer 
optional
ladiesSeat
boolean 
optional
lastName
string 
optional
mobile
string 
optional
title
string 
optional
email
string 
optional
idType
string 
optional
idNumber
string 
optional
nameOnId
string 
optional
primary
boolean 
optional
ac
boolean 
optional
sleeper
boolean 
optional
inventoryType
integer 
required
Examples

Responses

🟢200success
text/plain
Body
status
string 
required
callback_status
string 
required
tlid
string 
required
error
string 
required
message
string 
required
buspnr
string 
required
BookingDetail
object 
required
apiStatus
object 
required
inventoryType
integer 
required
opPNR
string 
required
commPCT
integer 
required
totalFare
integer 
required
tripCode
null 
required
etstnumber
string 
required
api_mode
string 
required
Previous
blockSeat
Next
cancelTicket
Built with