API reference
/Air
/- Get flight checkout details
Get air itineraries
Get flight attributes
Get selected itinerary
Get Airlines Information (Air)
Get flight seat map
Initiate booking
Validate air itinerary
Validate air itinerary (interim)
Create air pnr
Cancel Air Pnr
Get PNR exchange details
Modify Search
Modify Book
Edit PNR
Get Special Service Requests (SSR)
Get Special Service Requests (SSR) for a Category
Returns the Air Raw Fare Rules for a Segment or Pnr
Accept schedule change
Get flight checkout detai...
Get the flight checkout details associated with the selected itinerary.
Security
Bearer
Search id returned in the corresponding air search API response.
Example:"ChBjZDg3ZjRjZmRmMTFm"
Value of the itineraryId for the itinerary selected by the user in the corresponding air search API response.
Example:"IthBjZDg3ZjRjZmRmMTFm"
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/flight-checkout
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/flight-checkout
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"
}
]
}
]
}
]
}'OK
The unique ID which identifies this checkout response. This value must passed on in the subsequent booking API calls.
Example:"ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z"
Describes the baggage selection options available for the user to buy on the flight checkout page.
List of all the supported card options. If this list is empty, all cards are supported.
Applicable unused credits of the traveler.
Applicable company credits of the traveler.
Response
{ "checkoutResponseId": "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z", "baggageInfo": { "baggageSelectionGroups": [ … ] }, "ancillaries": [ { … } ], "mandatoryCheckoutParams": [ { … } ], "airlineCardFees": [ { … } ], "applicableUnusedCredits": [ { … } ], "applicableCompanyCredits": [ { … } ], "allowedFeatures": [ { … } ], "conditionalParams": [ { … } ] }