flight-booking

Pay Flight Booking Session

Charge and create a flight booking + operator task.

post/flight-booking/sessions/{session_id}/pay

Path parameters

session_idstring uuid required

Request body

payment_method_idstring nullable

Stripe payment method ID (pm_xxx). If absent, returns client_secret for inline card entry.

credit_amount_centsinteger nullable

Axel credit to apply (cents). None/omitted=no credit, >0=apply this amount.

payment_method_typesstring[] nullable

How the deferred Stripe Elements group was configured, e.g. ['card'] (inline pay only). The PaymentIntent is created to match — Stripe rejects confirm on mismatch. Omitted = automatic payment methods.

Response

Successful Response

session_idstring uuid required
booking_idstring nullable
reference_codestring nullable
operator_task_idstring uuid nullable
payment_intent_idstring required
charged_amount_centsinteger required
currencystring required
status'active' | 'awaiting_payment' | 'processing' | 'completed' | 'failed' | 'abandoned' | 'manual_recovery_required' required
client_secretstring nullable
credit_applied_centsinteger

Changes

No recorded changes to this endpoint across all 1 revision of this API.