getFlightPrebook
Retrieve an existing flight checkout session by ID to resume booking, confirm selected seats or bags, and view services still available to attach.
Instructions
Overview
Retrieve an existing flight checkout session (prebook) by ID, including any ancillary services already attached and a live catalog of remaining attachable services.
When to Use
Resume checkout — Reload prebook state after the user navigates away
Confirm attached ancillaries — Show selected seats/bags before final book
Reuse payment intent — Returns the stored Stripe
transactionId/secretKeyas-is (GET does not create or refresh a PaymentIntent)Credit balance — Optionally include a live credit-line snapshot with
includeCreditBalance=true
What You Get
Same core
FlightPrebookDatashape asPOST /flights/prebooks/ attach-services (journey, pricing, payment intent fields,servicesAttachable)booking.selectedServices/booking.bookedServiceswhen services were attachedLive
servicesAttachablefrom the provider (not persisted)Existing payment fields conserved from create/attach
Optional
creditLinewhenincludeCreditBalance=true(live remaining credit when the account can cover the prebook price)
Quick Start
Provide the prebookId returned from POST /flights/prebooks in the URL path. Optionally pass includeCreditBalance=true to include credit-line availability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prebookId | Yes | The unique prebook identifier | |
| includeCreditBalance | No | When true, include credit line availability in the response when the account can cover the prebook price. |