Flights & Travel
Create a flight booking
POST
/flights/bookingsScope
flights:writeAuth Bearer keyIdempotentTicketing is irreversible. Requires an Idempotency-Key, reused for every retry of this booking. The response may still be processing; reconcile by retrieving it instead of submitting a new booking.
Headers
Idempotency-KeystringrequiredRetrying with the same key and payload replays the original response.
Responses
201Booking
Errors
Errors use RFC 9457 problem details. Branch on code, and log request_id.
400Bad request401Unauthenticated403Forbidden409Idempotency conflict422Validation error429Rate limitedcURL
curl -X POST "https://business.boundlesspay.com/api/public/v1/flights/bookings" \ -H "Authorization: Bearer $BOUNDLESS_API_KEY" \ -H "Idempotency-Key: $(uuidgen)"
