Reference · step 8 of 9

POST/flights/booking/confirm-hold

{{base_url}}/flights/booking/confirm-hold

Pay a held booking from the wallet and ticket it, before pay_till.

Headers

Content-Typeapplication/json
AuthorizationBearer {{token}}
Keys and what they mean
Request
keytypewhen presentimportancemeaning
booking_idstringrequiredmust readA booking on hold (status ONHOLD), before its pay_till.
Total: 1 keys
Reply
keytypewhen presentimportancemeaning
statusstringalwaysmust readSUCCESS when paid and ticketed; read the booking details for the tickets.
amountnumberalwaysmust readWhat was taken from your balance or credit (INR).
booking_idstringalwaysinformationalThe booking confirmed.
itinerary_idstringalwaysinformationalIts itinerary.
Total: 4 keys
Errors this call answers with (6)
HTTPcodemessagedetailwhen
4019001Authentication requiredInvalid token
4039002You do not have permission for this actionRole without bookings.hold.
4003000Invalid requestBooking_id is required
4049005Not foundBooking not found
4093102Booking is not pendingNot a held booking, or already confirmed.
5009000Something went wrongInsufficient wallet or payment faults that no translator knows.
Real captures of this call