v15

OpenAPI 3.1.0MITraw.githubusercontent.com2026-08-0171615.2 KB
Bookings

Book a flight

Create a real airline booking (PNR). Ticket price charged via Stripe. Passenger names must match government ID. E-ticket sent to contact email.

post/api/v1/bookings/book

Request body

offer_idstring required
contact_emailstring email required
idempotency_keystring

Prevent double-booking on retry

Response

Booking confirmed

booking_idstring
booking_referencestring

Airline PNR / confirmation code

status'confirmed' | 'pending' | 'failed'
total_pricenumber float
currencystring