Skip to main content
Give travelers one conversation for the entire flight journey, from inspiration to post-booking support.

Booking flow

Capabilities

AI search

Find destinations, better dates, and the right time to book.

Live search

Confirm accurate live prices for the traveler’s exact request.

Book

Add travelers, preferences, extras, loyalty details, and payment.

Manage

Support voluntary changes, cancellations, and refunds.

Build the flow

  1. AI search: help the traveler choose a destination, find dates, or decide when to book.
  2. Live search: confirm accurate live prices for the traveler’s exact request.
  3. Build trip: add the selected fare, travelers, contact details, preferences, and extras.
  4. Payment: create checkout, collect payment, and follow ticketing.
  5. Manage: retrieve the booking and handle changes and cancellations.

Test flights in sandbox

Use Jinko Airline (ZZ) to test the complete flight flow in sandbox. It is the only sandbox airline designed to support search, booking, ticketing, extra bags, refunds, voids, and exchanges end to end. It sells no seat selection: test seats on a real airline (see Seats). Jinko Airline behaves predictably and each flight number triggers a documented success or failure scenario. Use flight ZZ101 for the normal flow. Search one of its supported routes, such as JFK to LHR, from tomorrow onwards and filter on carrier ZZ. Real airlines can also appear in sandbox, but their test inventory is limited and can change without notice. Keep automated end-to-end tests on Jinko Airline, then use production to validate real airline content. See MCP sandbox setup and Testing in sandbox for routes and scenarios. Jinko provides a set of AI search tools that help the agent reason through and answer complex questions from its customers. Destination and date tools use cached fare data to explore many options quickly, before the traveler has chosen an exact flight.

Find a destination

find_destination answers open-ended questions about where to go. It starts from one or more departure airports, then compares destinations by price within the traveler’s dates, trip length, cabin, stop preference, and budget. Example questions
  1. “Where can I go from Paris for a long weekend under €250?”
  2. “Find a warm destination from London in March, direct flights only.”
  3. “What are the cheapest business-class destinations from New York next month?”

Find the best dates

find_dates is for travelers who know the route but can move their dates. It returns a varied shortlist of the cheapest date combinations across their travel window, instead of clustering every result around the same few days. Example questions
  1. “When is the cheapest time to fly from Paris to New York in June?”
  2. “Find the best weekends for a four-day trip from London to Lisbon.”
  3. “Show me a few affordable dates for one week in Tokyo.”

Know when to book

flight_price_advice compares the current fare with typical prices for similar flights. It forecasts the price one day and three days ahead, estimates the probability of an increase, decrease, or no change, and recommends whether to buy now or wait. Example questions
  1. “Is this a good price for this flight?”
  2. “Should I book now or wait?”
  3. “How likely is this fare to increase over the next three days?”
Price advice is available when the request has enough statistical coverage. Initial numeric coverage focuses on one adult, nonstop flights, and USD fares.
Destination and date results are cached fares for one adult. Use them to compare possibilities and build a shortlist, then run flight_search with the full passenger counts to confirm the party’s live price and availability before quoting or booking.
Turn the traveler’s exact request into live flight options. flight_search uses live supplier pricing rather than the AI search cache. It returns accurate prices and availability for the exact search at that moment, ready to continue into booking. Jinko can combine route, dates, passengers, cabin, budget, airline, airport, schedule, baggage, fare conditions, and connection preferences in one search. The result is a set of live, bookable fares that respect those constraints.

Search preferences

  1. Exact dates, one-way trips, round trips, adults, children, and lap infants
  2. Economy, premium economy, business, or first class
  3. Direct flights or a maximum number of stops
  4. Preferred or excluded airlines
  5. Departure and arrival time windows for each direction
  6. Minimum and maximum connection times
  7. Preferred or excluded connection airports
  8. Same-airline itineraries and no cross-city airport changes
  9. Maximum journey time and total trip budget
  10. Refundable or changeable fares
  11. Fares that include checked baggage
  12. Nearby or alternate airports
Example questions
  1. “Find two seats from Paris to New York next Friday, returning Sunday evening, direct only.”
  2. “I need a refundable business-class flight that arrives before 3 PM.”
  3. “Show me flights with one checked bag, no Heathrow connection, and no layover longer than two hours.”
  4. “Compare the cheapest option with the best schedule and explain the tradeoff.”
Jinko returns the itinerary, total price, fare options, baggage allowance, and known change or refund conditions. If a completed search finds no matching offers, relay the returned instruction and ask which filter or dates the traveler wants to change. The result does not identify which individual constraint caused the empty answer.

Book

Build the booking around the traveler, not just the flight.

Travelers and contact details

Add the passenger information required for ticketing and one contact for booking updates. Jinko supports adults, children, and infants traveling on an adult’s lap.

Fare and baggage

Let the traveler compare fare families and understand what each one includes. Before payment, Jinko can show cabin and checked baggage allowances and add extra bags when the airline offers them. See Bags for included allowances, selection, and booking outcomes.

Seats

Show available seats by traveler and flight segment. The traveler can choose a seat number based on the listed characteristics, such as window, aisle, or extra legroom. The seat map can load after the trip is priced: a seat offer with seat_map_status: "pending" has no seats yet, so read the trip again until it is "ready". In sandbox, test seats on a real airline: Jinko Airline sells no seat selection. See Testing in sandbox. See Seats for the seat map page, selection flow, confirmation, charges, and refunds.

Meals

When the airline sells meals for the selected flight, the catalog lists them with type: "meal", per traveler and per flight segment. Select them like bags. See Testing in sandbox for the meals of the test airline.

Special meals and assistance

The traveler can ask the airline for a special meal or for assistance, such as a wheelchair. The request is free. The airline accepts or refuses it after booking, and the flight is booked either way.

Find the offers

Read the flight item’s available_ancillaries on the trip or call GET /v1/trip/{trip_id}/ancillaries. Look alongside bags and seats for offers with an ssr_code, the airline’s standard request code. Show the traveler the display_label. Availability depends on the airline and the fare. If no request is listed, you cannot make one through Jinko for that flight. Each offer is one request on one flight segment, and each selection of it is for one traveler. Its type is meal or assistance. A request is free: it has neither price_per_unit nor price_per_unit_money. If the airline sells a meal with the same code on that segment, only the paid meal appears.
Check applicable_pax_types before showing a request. If absent, any traveler can select it. It uses the same values as the trip’s traveler_type. The child meal lists ["child"]. The baby meal lists ["infant"], for an infant on a lap or in a seat.

Select a request

Call POST /v1/select_ancillaries with the offer’s offer_id, the required traveler_ref, and quantity 1. You can omit segment_ref_ids. If you send it, use the offer’s segment. The call replaces the item’s whole selection. Include every request, bag, seat, and paid meal you want to keep. You can select a request only once per traveler and segment. Each traveler can have one special meal per segment and cannot combine it with a paid meal there. A duplicate or conflicting selection returns 400 BAD_REQUEST with error.field naming the selection. An offer outside the item’s catalog points to the offer ID, for example selections[0].offer_id. An ineligible traveler points to selections[0].traveler_ref. Before booking, the selected line has ssr_code and display_label and no status. The request adds nothing to total_with_ancillaries or the checkout total.

Read the airline’s answer

An airline that refuses a request does not stop the booking: the flight is still booked and ticketed, and that request reads failed. Read get_booking and find the request in the flight item’s booked_ancillaries. Each booked request always has a status: it reads pending until the airline answers, then confirmed or failed. The airline often answers while the booking is made, so get_booking can show its answer at once.
Jinko asks the airline again one hour and one day after ticketing, and two days before the first departure. After the last check, an unanswered request stays pending with The airline has not answered. Contact the airline before travelling. Read get_booking for updates. No webhook event or email reports a later answer. Until the line reads confirmed, tell the traveler the request is subject to the airline’s confirmation. After an exchange, a request on a changed flight reads failed with This request was for a flight that has changed. Ask the airline to add it to the new flight. See Special meals and assistance after an exchange.

Requests you can make

Other codes and free-text requests are unavailable through Jinko. Contact the airline for medical clearance, oxygen, a stretcher, or a powered wheelchair. Example questions
  1. “Can I request a wheelchair to the aircraft door? I can climb stairs.”
  2. “Can I have a halal meal on both flights?”
  3. “Has the airline confirmed my vegan meal?”

After ticketing

Use the REST API to add a special request to a ticketed booking for a flight that has yet to depart. It is free and goes in a trip of its own:
  1. Call POST /v1/get_booking_ancillaries with booking_ref and last_name. To check one item, include its booked_item_id. For journeys not yet flown, each flight item’s catalog lists available requests alongside paid seats and bags: one offer per request and segment, for the whole booking. Choose the traveler it is for from the item’s travelers. Use its pba_ token before catalog_expires_at.
  2. Start a trip with POST /v1/trip. Send add_item: {trip_item_token, traveler_ref} and omit trip_id. The trip takes its travelers and contact from the booking. You can add several requests to this trip. Keep paid seats and bags in a separate trip. Mixing them with a request in either order returns 400 BAD_REQUEST with Special requests are added in their own trip. and error.field set to add_item.trip_item_token.
  3. Call POST /v1/checkout with the new trip_id. There is nothing to pay. Checkout returns status: "fulfilling" and payment_type: "none", with an empty checkout_url and no expires_at. Skip the payment step.
  4. Read get_booking on the original booking_ref. Each request appears in the flight item’s booked_ancillaries with purchase: "post_booking" and purchase_booking_ref, the new trip’s booking reference. Follow its status as above. The same airline checks and messages apply. No email is sent for a request added after ticketing.
For example, this catalog item offers wheelchair assistance for one segment. The request has no price.
An offer stays listed while at least one traveler can still take it, so it can still appear after one traveler holds it. The traveler rules apply when you add it with traveler_ref. These answer 422 BAD_REQUEST, and nothing is added:
  • a traveler of the wrong type for the request (applicable_pax_types);
  • a traveler who already holds that request on the segment, pending or confirmed;
  • a second special meal for a traveler on a segment.
Special requests added after ticketing are limited per booking. A checkout over that limit answers 429 RATE_LIMITED with a Retry-After header. When the item reads purchasable: false, check not_purchasable_reason:

Other services

Other services, such as sports equipment, priority boarding, lounge access, and insurance, are not in the catalog and cannot be added to a Jinko booking.

Loyalty program

Loyalty is a traveler detail, not an extra: it never appears in the ancillary catalog. Send each traveler’s membership as frequent_flyer: {airline, number} on the traveler when you add travelers to the trip (upsert_travelers), before checkout. airline is the IATA code of the program issuer, such as LH for Lufthansa Miles & More, which can differ from the operating carrier. The trip returns it on the traveler. Example questions
  1. “Book this fare for two adults and one child.”
  2. “Does this ticket include a checked bag? Add one if it does not.”
  3. “Can we sit together, with one window seat?”
  4. “Add a second checked bag for the child.”
  5. “Use my Air France loyalty number for this booking.”

Checkout and confirmation

Jinko presents the final itinerary, fare conditions, extras, and total before payment. After payment, Jinko follows fulfillment through ticketing and returns the Jinko booking reference and airline reference when available.

Manage after booking

Keep supporting the traveler after the ticket is issued. Jinko starts by retrieving the booking and checking what each flight item allows. A guest can access the flow with the Jinko booking reference and the lead traveler’s last name.

Voluntary exchange

When the traveler wants to change a flight, Jinko can search alternatives for one leg or the full journey, price the selected option, and show the new itinerary, fare conditions, airline fee, and exact amount to pay or receive. The change is only submitted after the traveler confirms. Example questions
  1. “Move my return flight to Sunday evening.”
  2. “What would it cost to fly one day earlier?”
  3. “Change only the outbound flight and keep my return as booked.”

Voluntary cancellation

Before canceling, Jinko previews whether the ticket can be voided or refunded. It shows the penalty, the amount returned to the traveler, and any extras handled separately. Nothing is canceled until the traveler confirms the quoted amount. Example questions
  1. “Can I cancel this ticket, and how much will I get back?”
  2. “Cancel my flight and track the refund.”
  3. “Was my paid seat refunded too?”

Changes made by the airline

Jinko does not detect a schedule change or a cancellation the airline makes after ticketing. No webhook reports one, and get_booking returns the itinerary as it was booked. See Webhooks.

Track every outcome

Changes and cancellations expose a clear status until they succeed or fail. Jinko can report pending payments, ticket updates, refunds, and cases that need support without asking the traveler to restart the process.
  1. Flight exchanges
  2. Flight refunds and cancellations
  3. Flight and hotel booking
  4. Hotel booking
  5. Car rental booking