Skip to content

Get flight checkout details

Request

Get the flight checkout details associated with the selected itinerary.

Security
Bearer
Bodyapplication/jsonrequired
searchIdstringrequired

Search id returned in the corresponding air search API response.

Example:"ChBjZDg3ZjRjZmRmMTFm"
itineraryIdstringrequired

Value of the itineraryId for the itinerary selected by the user in the corresponding air search API response.

Example:"IthBjZDg3ZjRjZmRmMTFm"
passengerInfosArray of objects(TravelerSeatInfo)

Information about the passengers on the itinerary, including loyalty and traveler details.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/air/flight-checkout \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "searchId": "ChBjZDg3ZjRjZmRmMTFm",
    "itineraryId": "IthBjZDg3ZjRjZmRmMTFm",
    "passengerInfos": [
      {
        "travelerType": "ADULT",
        "travelerAge": {
          "numYears": 22
        },
        "travelerInfo": {
          "userId": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
          }
        },
        "loyaltyInfos": [
          {
            "flightId": "flight_0",
            "loyaltyInfos": [
              {
                "appliedTo": [
                  null
                ],
                "id": "firstId",
                "issuedBy": "firstIssuedBy",
                "type": "AIR",
                "linked": false,
                "tier": "GOLD"
              }
            ]
          }
        ]
      }
    ]
  }'

Responses

OK

Bodyapplication/json
checkoutResponseIdstringrequired

The unique ID which identifies this checkout response. This value must passed on in the subsequent booking API calls.

Example:"ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z"
baggageInfoobject(BaggageSelectionInfo)

Describes the baggage selection options available for the user to buy on the flight checkout page.

ancillariesArray of objects(AncillarySelectionInfo)

List of ancillaries available for purchase.

mandatoryCheckoutParamsArray of objects(MandatoryParamForCheckout)
airlineCardFeesArray of objects(AirlineCardFee)

List of all the supported card options. If this list is empty, all cards are supported.

applicableUnusedCreditsArray of objects(ApplicableUnusedCreditDetail)

Applicable unused credits of the traveler.

applicableCompanyCreditsArray of objects(ApplicableUnusedCreditDetail)

Applicable company credits of the traveler.

allowedFeaturesArray of objects(AllowedFeatures)

Allowed features per leg such as OSI and SSR.

conditionalParamsArray of objects(ConditionalParam)

Conditional document requirements per traveler.

Response
{ "checkoutResponseId": "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z", "baggageInfo": { "baggageSelectionGroups": [ … ] }, "ancillaries": [ { … } ], "mandatoryCheckoutParams": [ { … } ], "airlineCardFees": [ { … } ], "applicableUnusedCredits": [ { … } ], "applicableCompanyCredits": [ { … } ], "allowedFeatures": [ { … } ], "conditionalParams": [ { … } ] }