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

Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200success
text/plain
Body

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"
}
Previous
blockSeat
Next
cancelTicket
Built with