# Get flight checkout details Get the flight checkout details associated with the selected itinerary. Endpoint: POST /v2/air/flight-checkout Version: v2 Security: Bearer ## Request fields (application/json): - `searchId` (string, required) Search id returned in the corresponding air search API response. Example: "ChBjZDg3ZjRjZmRmMTFm" - `itineraryId` (string, required) Value of the itineraryId for the itinerary selected by the user in the corresponding air search API response. Example: "IthBjZDg3ZjRjZmRmMTFm" ## Response 200 fields (application/json): - `checkoutResponseId` (string, required) The unique ID which identifies this checkout response. This value must passed on in the subsequent booking API calls. Example: "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z" - `baggageInfo` (object) Describes the baggage selection options available for the user to buy on the flight checkout page. - `baggageInfo.baggageSelectionGroups` (array) - `baggageInfo.baggageSelectionGroups.travelerApplicability` (object) - `baggageInfo.baggageSelectionGroups.travelerApplicability.applicability` (string, required) Enum: "PER_TRAVELER", "ALL_TRAVELERS" - `baggageInfo.baggageSelectionGroups.legApplicability` (object) Describes the leg level applicability and the leg association. - `baggageInfo.baggageSelectionGroups.legApplicability.legId` (string) Identifier for the leg. Present when applicability is PER_LEG. Example: "leg_0" - `baggageInfo.baggageSelectionGroups.travelerBaggageOptions` (array) - `baggageInfo.baggageSelectionGroups.travelerBaggageOptions.travelerType` (string) Type of the traveler. Present when traveler applicability is PER_TRAVELER. Enum: "UNKNOWN_PASSENGER_TYPE", "ADULT", "CHILD", "INFANT", "INFANT_ON_LAP", "YOUTH", "SENIOR", "TEEN" - `baggageInfo.baggageSelectionGroups.travelerBaggageOptions.travelerAge` (object) Age of the traveler. Present when traveler applicability is PER_TRAVELER. - `baggageInfo.baggageSelectionGroups.travelerBaggageOptions.travelerAge.numYears` (integer, required) Age of the passenger Example: 22 - `baggageInfo.baggageSelectionGroups.travelerBaggageOptions.baggageOptions` (any) - `ancillaries` (array) List of ancillaries available for purchase. - `ancillaries.type` (string, required) Type of ancillary Enum: "EARLY_BIRD", "WIFI", "CARBON_OFFSET" - `ancillaries.displayName` (string, required) Display name for this ancillary type Example: "Early Bird" - `ancillaries.description` (string, required) Description for this ancillary type Example: "Purchasing early bird provides the customer with a higher boarding priority compared to WannaGetAway/Anytime customers that don’t have a special rapid rewards status irrespective of the time they check in." - `ancillaries.ancillaryOptions` (array, required) Ancillary options for this ancillary type - `ancillaries.ancillaryOptions.travelerId` (object) Traveler ID to which this ancillary applies. - `ancillaries.ancillaryOptions.travelerId.id` (string, required) - `ancillaries.ancillaryOptions.status` (string, required) Ancillary status (purchased, eligible for purchase, not applicable, etc.). Enum: "ELIGIBLE", "NOT_APPLICABLE", "PURCHASED" - `ancillaries.ancillaryOptions.fare` (object, required) The fare for this ancillary. - `ancillaries.ancillaryOptions.fare.amount` (number, required) The numeric value for the amount of money. Example: 510 - `ancillaries.ancillaryOptions.fare.currencyCode` (string, required) The 3-letter currency code for the money amount (defined using ISO 4217 standard). Example: "GBP" - `ancillaries.ancillaryOptions.fare.convertedAmount` (number) The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency). Example: 715.42 - `ancillaries.ancillaryOptions.fare.convertedCurrency` (string) The 3-letter currency code for the converted currency (defined using ISO 4217 standard). Example: "USD" - `ancillaries.ancillaryOptions.fare.otherCoinage` (array) List of the dollar amount in other coinage systems like reward points, cryptocurrency etc. - `ancillaries.ancillaryOptions.fare.otherCoinage.coinageCode` (string) Payment method Enum: "PAYMENT_METHOD_UNKNOWN", "CREDIT_CARD", "BREX_POINTS", "CASH", "QANTAS_POINTS", "VENDOR_PROGRAM_PAYMENT", "DELAYED_INVOICING", "FLIGHT_CREDITS", "QANTAS_TRAVEL_FUND", "CUSTOM_VIRTUAL_PAYMENT", "FLIGHT_PASS", "MISCELLANEOUS_CREDIT_ORDER" - `ancillaries.ancillaryOptions.fare.otherCoinage.amount` (number) Example: 1000 - `ancillaries.ancillaryOptions.fare.otherCoinage.conversionRate` (number) 1 coin in this system equals to how many currency value Example: 0.01 - `ancillaries.ancillaryOptions.fare.otherCoinage.preferredCurrencyConversionRate` (number) 1 coin in this system equals to how many currency value Example: 0.01 - `ancillaries.ancillaryOptions.flightIds` (array, required) ID of the flights on which this ancillary applies. Example: ["flight_0"] - `ancillaries.ancillaryOptions.ancillaryId` (string, required) Unique ID for purchasing this ancillary. Example: "ancillary_0" - `mandatoryCheckoutParams` (array) - `mandatoryCheckoutParams.parameter` (string) The mandatory parameter to be collected. Enum: "DATE_OF_BIRTH", "BILLING_ADDRESS", "POSTAL_CODE", "CVV", "PASSPORT_ID", "PASSPORT_EXPIRY_DATE", "PASSPORT_ISSUE_COUNTRY", "NATIONALITY", "GENDER", "CVV_ON_PERSONAL_CARD", "TITLE" - `airlineCardFees` (array) List of all the supported card options. If this list is empty, all cards are supported. - `airlineCardFees.type` (string, required) Enum: "CREDIT", "DEBIT" - `airlineCardFees.company` (string, required) The issuing company of card Enum: "NONE", "VISA", "MASTERCARD", "AMEX", "DISCOVER", "AIR_TRAVEL_UATP", "CARTE_BLANCHE", "DINERS_CLUB", "JCB", "BREX", "UNION_PAY", "EURO_CARD", "ACCESS_CARD", "ELO_CARD" - `airlineCardFees.fees` (object) Money object containing details such as the amount, the currency code, and the converted amount. ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 404 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.