> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gojinko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# trip ancillaries

> List purchasable ancillaries for a trip (no checkout)

Returns the available ancillaries for a trip without generating a checkout URL. A price quote runs automatically to retrieve the ancillary catalog and is reused while valid.

Responds **200** with `status: "ready"` and `items[]` when the quote is complete. If the quote is still being priced it responds **202** with `status: "pricing"` and a `Retry-After` header, poll the same URL until it returns 200. Never returns a checkout URL.


## OpenAPI

````yaml api-reference/public-api.yaml GET /v1/trip/{trip_id}/ancillaries
openapi: 3.0.0
info:
  title: Jinko Public API
  version: 0.125.0
  description: >-
    Curated public REST surface for Jinko. Authenticated with jnk_ API keys. See
    https://docs.gojinko.com for guides.


    ### Per-end-user attribution


    On booking calls you may send an optional `X-End-User-Id` request header to
    attribute the booking to one of your own end users (for per-end-user
    attribution and rate-limiting). The value is an **opaque, tenant-scoped**
    identifier that you choose — not a Jinko account id. Omit it to book as the
    tenant. Values prefixed `user_` or `org_` are rejected.
servers:
  - url: https://api.gojinko.com
    description: Production
  - url: https://api.sandbox.gojinko.com
    description: Sandbox
security: []
paths:
  /v1/trip/{trip_id}/ancillaries:
    get:
      tags:
        - Pricing & booking
      summary: List purchasable ancillaries for a trip (no checkout)
      description: >-
        Returns the available ancillaries for a trip without generating a
        checkout URL. A price quote runs automatically to retrieve the ancillary
        catalog and is reused while valid.


        Responds **200** with `status: "ready"` and `items[]` when the quote is
        complete. If the quote is still being priced it responds **202** with
        `status: "pricing"` and a `Retry-After` header — poll the same URL until
        it returns 200. Never returns a checkout URL.
      parameters:
        - schema:
            type: string
          required: true
          name: trip_id
          in: path
      responses:
        '200':
          description: 'Ancillaries ready: `status: "ready"` with `items[]`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripAncillariesResponse'
        '202':
          description: >-
            The quote is still being priced: `status: "pricing"`. Poll the same
            URL after Retry-After.
          headers:
            Retry-After:
              schema:
                type: string
              description: Polling delay supplied by the service.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripAncillariesResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: Malformed JSON in request body.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: AUTH_REQUIRED
                  message: Invalid or expired API key.
                  doc_url: https://docs.gojinko.com/authentication/api-keys
        '402':
          description: Payment required — organization balance exhausted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: PAYMENT_REQUIRED
                  message: >-
                    Insufficient balance — this call costs $0.0150 and your
                    organization has $0.0000 available. Top up at
                    https://dashboard.gojinko.com/developers/billing/topup
                  doc_url: https://docs.gojinko.com/concepts/errors
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: NOT_FOUND
                  message: Resource not found.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '409':
          description: The operation conflicts with the current state of the resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: CONFLICT
                  message: >-
                    The operation conflicts with the current state of the
                    resource.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '410':
          description: The resource this request names no longer exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: GONE
                  message: The resource no longer exists.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: A required field is missing or invalid.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '429':
          description: Rate limit or quota exceeded
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying. Absent when no interval
                applies.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: RATE_LIMITED
                  message: Too many requests. Retry after the Retry-After delay.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '502':
          description: The travel provider rejected the request, or an upstream call failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UPSTREAM_REJECTED
                  message: The request was declined for this offer. Try another offer.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '503':
          description: No travel provider can serve the request right now
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying. Absent when no interval
                applies.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UPSTREAM_UNAVAILABLE
                  message: >-
                    The service is temporarily unavailable. Retry after the
                    Retry-After delay.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '504':
          description: The travel provider did not answer in time
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UPSTREAM_TIMEOUT
                  message: >-
                    The request timed out before a result was available. Retry
                    the request.
                  doc_url: https://docs.gojinko.com/concepts/errors
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    TripAncillariesResponse:
      type: object
      properties:
        trip_id:
          type: string
        status:
          type: string
          example: ready
        quote_id:
          type: string
          example: '2097152'
        quoted_cart_id:
          type: number
          description: 'Deprecated: use `quote_id` instead. The same quote as an integer.'
          deprecated: true
        expires_at:
          type: string
        retry_after_seconds:
          type: integer
        items:
          type: array
          items:
            $ref: '#/components/schemas/TripItem'
      required:
        - trip_id
        - status
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - INVALID_SEGMENTS_TO_EXCHANGE
                - PARTIAL_EXCHANGE_UNSUPPORTED
                - LEG_ALREADY_DEPARTED
                - DEPARTURE_DATE_IN_PAST
                - LEG_DATES_OUT_OF_ORDER
                - INVALID_EXCHANGE_REQUEST
                - NOT_EXCHANGEABLE
                - CREDENTIAL_FORMAT_INVALID
                - PAYMENT_TYPE_NOT_ENABLED
                - PAYMENT_CREDENTIAL_INVALID
                - TRIP_OWNED_BY_OTHER_PAYMENT
                - IDEMPOTENCY_KEY_REUSED
                - ATTEMPT_IN_PROGRESS
                - ATTEMPT_TERMINAL
                - TEMPORARILY_UNAVAILABLE
                - AUTH_REQUIRED
                - PAYMENT_REQUIRED
                - RATE_LIMITED
                - BAD_REQUEST
                - FORBIDDEN
                - NOT_FOUND
                - CONFLICT
                - GONE
                - QUOTE_PENDING
                - QUOTE_EXPIRED
                - TRIP_EXPIRED
                - TRIP_STATE_CONFLICT
                - OFFER_EXPIRED
                - OFFER_UNAVAILABLE
                - MISSING_CUSTOMER_DETAILS
                - INVALID_PHONE_NUMBER
                - INVALID_FLIGHT_NUMBER
                - CURRENCY_UNSUPPORTED
                - HOTEL_NAME_LOW_CONFIDENCE
                - DESTINATION_LOW_CONFIDENCE
                - UPSTREAM_REJECTED
                - UPSTREAM_UNAVAILABLE
                - UPSTREAM_TIMEOUT
                - UPSTREAM_ERROR
                - INTERNAL
              description: >-
                What went wrong, as a stable machine-readable code. This is a
                closed set — branch on it rather than on `message`, which is
                prose and may change. New codes arrive in a minor version, so
                treat an unknown one as its HTTP status. A code can also stop
                being emitted: it leaves this set in a minor version, named in
                the changelog, and a branch you wrote for it goes unreached
                rather than wrong.
              example: BAD_REQUEST
            message:
              type: string
              description: >-
                What went wrong, in prose. These codes always carry the same
                message, and it never includes text from a supplier:
                `RATE_LIMITED` — "Too many requests. Retry after the Retry-After
                delay."; `OFFER_EXPIRED` — "This offer has expired. Search
                again."; `OFFER_UNAVAILABLE` — "This offer is no longer
                available. Search again."; `UPSTREAM_REJECTED` — "The request
                was declined for this offer. Try another offer.";
                `UPSTREAM_UNAVAILABLE` — "The service is temporarily
                unavailable. Retry after the Retry-After delay.";
                `UPSTREAM_TIMEOUT` — "The request timed out before a result was
                available. Retry the request."; `UPSTREAM_ERROR` — "The request
                could not be completed.".
            doc_url:
              type: string
            field:
              type: string
              description: >-
                On a 400 `BAD_REQUEST` that names one refused input: the path of
                that field in your request, e.g. `selections[1].quantity` for
                the second selection of a `select_ancillaries` call. Absent when
                the refusal names no single field.
              example: selections[1].quantity
          required:
            - code
            - message
      required:
        - error
    TripItem:
      type: object
      properties:
        collector:
          type: string
          enum:
            - jinko
            - supplier
          description: >-
            Who charges the card: Jinko (merchant of record) or the supplier
            (channel mode).
        item_id:
          type: string
          example: itm_4b91c2
        kind:
          type: string
          description: 'What the item is: "flight", "hotel", "car" or "ground".'
          example: flight
        offer_id:
          type: string
          description: >-
            Deprecated: use `trip_item_token` instead. The offer handle this
            item was created from, exactly as it was submitted to
            `trip(add_item)`. On a hotel item it is the `htl_…` rate token; on a
            flight item it is the `offer_id` of the search result the token came
            from. One caveat when reconciling: on a hotel whose occupancy the
            provider re-shopped, this stays the token you SUBMITTED even though
            the priced rate moved. A trip never holds two flights the same
            travellers cannot both take: adding a flight whose segments overlap
            a flight already in the trip, another fare of the same flights
            included, is refused with 409 naming the item already there.
          example: htl_2d67a7441c60e5de
          deprecated: true
        trip_item_token:
          type: string
          description: >-
            The handle `trip(add_item)` took, echoed verbatim. On a hotel or car
            item it is the offer’s `trip_item_token` from the search. On a
            flight item it is the itinerary id and the fare joined by a colon,
            absent when the fare half was never resolved (a caller-supplied
            snapshot skips the resolver); read that absence as "the platform
            cannot name the fare", never as a different fare.
          example: of_9c1d2e:FARE_ABC
        hotel_id:
          type: string
          description: >-
            The property this hotel item books — the same id `hotel_search`
            publishes, so an item joins straight back to the search result it
            came from. Hotel items only.
          example: lp1f2c3
        special_requests:
          type: array
          items:
            type: string
          description: >-
            The special requests submitted with `trip(add_item)` for this hotel
            item, as stored — trimmed, blank entries dropped — and forwarded to
            the hotel supplier at booking. Requests only — the hotel may not
            honour them, and a confirmed booking does not imply it will. Hotel
            items only; absent when none were given (JIN-2499).
        booking_scope:
          type: string
          description: >-
            `room_bundle` means the submitted hotel offer token covers every
            room in `rooms`. Absent on every other hotel item, a single room
            included: read `rooms` for the rooms an item covers, and
            `booking_scope` only to learn whether one token books them all.
          example: room_bundle
        num_rooms:
          type: integer
          minimum: 1
          description: >-
            Number of rooms this hotel item covers: 1 for a single room, the
            bundle size for a room bundle. Hotel items only; absent when the
            platform cannot state the party the item was priced for.
          example: 1
        rooms:
          type: array
          items:
            $ref: '#/components/schemas/HotelBundleRoom'
          description: >-
            One entry per room this hotel item covers, single room or bundle
            (JIN-2565). Each entry states in `occupancy` the party that room was
            priced for — adults and children’s ages — so a checkout page can
            show the guest who the rate is for before payment, and a wrong child
            age, which changes the price and the room, is caught before the
            money moves. On a single room the entry’s room, board, refundability
            and tax lines are the item’s own, the same figures `hotel_terms`
            states; on a room bundle each entry carries that room’s details from
            the supplier. The item price remains the authoritative customer
            total for every room together. Absent when the platform holds no
            party for the item.
        price:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `price_money` instead. Item total in major
                currency units. Absent until the trip has been quoted, and on an
                item with `quote_status: failed`.
              deprecated: true
        price_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                Item total. Absent until the trip has been quoted — an unpriced
                item carries no `price_money` key at all, so absence means "not
                priced yet", not "free". Also absent on an item with
                `quote_status: failed`, which could not be priced.
        quote_status:
          type: string
          enum:
            - completed
            - failed
          description: >-
            How pricing this item ended in the trip’s latest quote. `completed`:
            the item is priced and included in the total. `failed`: the item
            could not be priced; it has no price and is not in the total, and
            the trip cannot be paid while it holds the item — read
            `failure_reason`, then remove the item or search again and replace
            it, and call checkout again. Absent until the trip has been quoted,
            and while pricing is still running.
          example: completed
        failure_reason:
          type: string
          enum:
            - offer_expired
            - offer_unavailable
            - provider_error
          description: >-
            Why an item with `quote_status: failed` could not be priced, in the
            same terms as the quote’s `failure_reason`. offer_expired or
            offer_unavailable: search again and replace the item.
            provider_error: an upstream technical failure; retry checkout once.
            Absent on a priced item, and when the cause is not known.
          example: offer_expired
        pax_count:
          type: number
          example: 1
        available_ancillaries:
          type: array
          items:
            $ref: '#/components/schemas/AncillaryOffer'
          description: >-
            Ancillaries that can still be selected on this item. Empty once
            nothing is on offer; populated only after the item has been quoted.
        selected_ancillaries:
          type: array
          items:
            $ref: '#/components/schemas/SelectedAncillary'
          description: Ancillaries already selected on this item.
        price_changed:
          type: boolean
          description: >-
            True when the provider re-priced this item between the search
            snapshot and the live quote. Checkout PROCEEDS at the new `price` —
            show the change before taking payment. Read `price_change` for the
            two figures and the signed difference. Absent when the price held.
          example: true
        original_price:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `original_price_money` instead. The snapshot
                price recorded at search time, in major currency units.
              deprecated: true
        original_price_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The snapshot price recorded at search time. Present only when
                `price_changed` is true; compare it against `price_money` to
                show the caller what moved.
        price_change:
          $ref: '#/components/schemas/PriceChange'
        required_attributes:
          type: object
          properties:
            source:
              type: string
              description: >-
                Origin of the requirement. Known values: "provider"
                (carrier-stated, authoritative) and "derived" (inferred from the
                itinerary; advisory only, not a compliance statement). The value
                is passed through without additional validation, so new sources
                may appear.
              example: provider
            per_passenger:
              type: array
              items:
                type: string
              description: >-
                Attribute names that must be collected for each passenger. Names
                are an open set in the provider’s own vocabulary.
              example:
                - PassportNumber
                - PassportExpiryDate
                - DateOfBirth
            booking:
              type: array
              items:
                type: string
              description: Attribute names that must be collected once per booking.
              example:
                - BillingAddress
                - PostCode
            per_passenger_conditional:
              type: array
              items:
                type: string
              description: >-
                Attribute names that may be required for each passenger
                depending on carrier, route, or passenger details. Collect them
                when in doubt.
              example:
                - Nationality
            booking_conditional:
              type: array
              items:
                type: string
              description: >-
                Attribute names that may be required once per booking depending
                on carrier, route, or passenger details. Collect them when in
                doubt.
          description: >-
            Extra attributes the carrier requires collected before booking this
            item — e.g. passport fields on carriers that mandate travel
            documents. Contents are passed through without additional
            validation. When this object is absent, no requirement is known;
            absence is NOT a statement that no document is needed.
        hotel_terms:
          $ref: '#/components/schemas/HotelTerms'
    HotelBundleRoom:
      type: object
      properties:
        occupancy_number:
          type: integer
          minimum: 1
          description: Stable one-based room slot within this bundle.
          example: 1
        room_id:
          type: string
        mapped_room_id:
          type: integer
        room_name:
          type: string
          example: Superior Double
        rate_id:
          type: string
        occupancy:
          $ref: '#/components/schemas/Occupancy'
        board_type:
          type: string
          example: BB
        board_name:
          type: string
          example: Breakfast Included
        max_occupancy:
          type: integer
        taxes_and_fees:
          type: array
          items:
            $ref: '#/components/schemas/TaxLine'
        policies:
          type: array
          items:
            $ref: '#/components/schemas/HotelBundleRoomPolicy'
        is_refundable:
          type: boolean
        cancellation_policy:
          type: array
          items:
            $ref: '#/components/schemas/CancellationStep'
        free_cancellation_until:
          type: string
        payment_types:
          type: array
          items:
            $ref: '#/components/schemas/HotelPaymentType'
          description: How the rate can be settled. Each value appears at most once.
          example:
            - pay_now
        remarks:
          type: string
      required:
        - occupancy_number
        - occupancy
      description: >-
        One room of a hotel item — the single room a one-room item books, or one
        slot of a room-bundle rate — with the party it was priced for
        (`occupancy`) and its display and policy details. The containing item
        owns the customer-facing total; supplier net, suggested retail,
        commission and room-local supplier price figures are intentionally not
        part of this public shape.
    Money:
      type: object
      properties:
        amount:
          type: number
          description: >-
            Deprecated: use `value` instead (the same integer) where this object
            carries decimal_places. Where it does not, the figure is in MAJOR
            units and the field holding this object is itself deprecated: read
            its `*_money` sibling. The two-scale rule applies only to deprecated
            fields. Alternative to `value` on some endpoints (the two never
            appear together); its scale depends on decimal_places. When this
            object carries decimal_places, amount is an INTEGER in minor units —
            divide by 10 ** decimal_places (e.g. select_ancillaries
            total_with_ancillaries). When there is no decimal_places field,
            amount is a decimal in MAJOR units, safe to display as-is (e.g. trip
            and checkout totals).
          deprecated: true
        value:
          type: integer
          description: >-
            Integer amount in MINOR units, always paired with decimal_places —
            divide by 10 ** decimal_places to display. Example: value 15977 with
            decimal_places 2 is 159.77 USD. Rendering this field directly shows
            prices 100x too high for 2-decimal currencies.
          example: 41250
        currency:
          type: string
          description: ISO 4217 currency code.
          example: USD
        decimal_places:
          type: integer
          description: >-
            Scale of the integer value/amount: display = integer / 10 **
            decimal_places. Always sent alongside minor-unit amounts. Usually
            the ISO 4217 digits of the currency (2 for USD/EUR/GBP, 0 for
            JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices can carry
            a different scale — ALWAYS use the decimal_places sent with the
            amount, never a hardcoded 2. Only if the field is genuinely absent
            on a value-shaped object, fall back to the ISO digits for the
            currency.
          example: 2
        display:
          type: string
          description: >-
            The same figure as a string ready to show: the ISO 4217 code, a
            space, then the amount, e.g. "USD 159.77". With decimal_places it is
            written at exactly that scale (value 1561500, JPY, decimal_places 2
            is "JPY 15615.00"); without, at the ISO digits of the currency. Show
            this; compute with the number. Absent when the figure is not money
            (a cancellation step expressed as a percent or a number of nights)
            or could not be read unambiguously.
          example: USD 412.50
      description: >-
        A money figure in one of two scales. New integrations read the `*_money`
        field beside it (a `MoneyValue`) where there is one, and `value` on
        objects that carry it; the rule below applies only to the deprecated
        forms. When `decimal_places` is present, `value` (or the deprecated
        `amount`) is an INTEGER in minor units: divide by 10 ** decimal_places.
        When it is absent, the deprecated `amount` is already in MAJOR units.
        Branch on whether decimal_places is present in the response you
        received, never on the currency code or the field name. `display` is the
        same figure as a string to show.
    MoneyValue:
      type: object
      properties:
        value:
          type: integer
          description: >-
            Integer amount in MINOR units at the ISO 4217 digits of `currency`:
            divide by 10 ** decimal_places to get the amount. Signed where the
            field says so (a price change delta).
          example: 41250
        currency:
          type: string
          pattern: ^[A-Z]{3}$
          description: ISO 4217 currency code.
          example: USD
        decimal_places:
          type: integer
          description: >-
            The ISO 4217 digits of `currency` (2 for USD/EUR, 0 for JPY/KRW, 3
            for BHD/KWD), and the scale of `value`.
          example: 2
        display:
          type: string
          description: >-
            The same figure as a string ready to show: the ISO 4217 code, a
            space, then the amount at `decimal_places`, e.g. "USD 412.50". Show
            this; compute with `value`.
          example: USD 412.50
      required:
        - value
        - currency
        - decimal_places
        - display
      description: >-
        Money as every new field carries it: `value` is an INTEGER in minor
        units at the ISO 4217 digits of `currency` (`decimal_places`), and
        `display` is the same figure ready to show. All four members are always
        present; a figure the platform does not know is absent, never `{value:
        0}`. New integrations read the `*_money` fields (and `value` on the
        objects that carry it); the two-scale rule described on `Money` applies
        only to the deprecated fields.
    AncillaryOffer:
      type: object
      properties:
        offer_id:
          type: string
          description: >-
            Opaque identifier of this ancillary offer. Pass it back exactly as
            received in `selections[].offer_id`; do not parse or build it.
          example: anc_3f9a1c27e4b8d051
        type:
          type: string
          description: >-
            Ancillary family — "bag", "seat", "meal", "assistance", … An open
            set. Offers with type "seat" carry `seat_map` and no
            `price_per_unit`: the price is per seat, in
            `seat_map.seats[].price_money`.
          example: bag
        label:
          type: string
          description: >-
            The provider label verbatim, kept as the source of truth. Some
            labels arrive with HTML entities and "&" component-joiners — show
            `display_label` instead.
          example: bag&1 x large 55 x 40 x 20 cm&Includes Speedy Boarding
        display_label:
          type: string
          description: >-
            Human-readable rendering of `label`: HTML entities decoded, "&"
            joiners normalised to ", ". This is the one to display.
          example: bag, 1 x large 55 x 40 x 20 cm, Includes Speedy Boarding
        description:
          type: string
        price_per_unit:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `price_per_unit_money` instead. The unit price
                in MAJOR currency units.
              deprecated: true
        price_per_unit_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The price of one unit of this ancillary. Absent when the offer
                carries no price, and on seat offers, which price each seat in
                the seat map.
        scope:
          type: string
          description: 'Seat offers only: one seat per passenger per segment.'
          example: PER_PAX_PER_SEGMENT
        segment_ref_ids:
          type: array
          items:
            type: string
          description: >-
            The segment(s) a seat offer covers, one per offer. Pass the one
            entry back as the selection's `segment_ref_ids`.
          example:
            - seg_1
        seat_map:
          $ref: '#/components/schemas/AncillarySeatMap'
        seat_map_status:
          type: string
          enum:
            - pending
            - ready
          description: >-
            Seat offers only: pending means the seat map is still loading and
            seat_map.seats is empty; read again. Ready means seats are listed.
        per_pax:
          type: boolean
          description: >-
            True when the price is charged per passenger rather than once per
            booking.
          example: true
        max_quantity:
          type: integer
          example: 2
        paid_at:
          type: string
          enum:
            - now
            - local
          description: >-
            Car rate extras only. `now`: charged by Jinko at checkout and inside
            the item price once selected. `local`: collected by the rental desk
            on pick-up — selectable, but never part of the charge. Absent for
            flight ancillaries, which are always charged by Jinko.
          example: now
      required:
        - offer_id
    SelectedAncillary:
      type: object
      properties:
        offer_id:
          type: string
          description: >-
            Opaque identifier of this ancillary offer. Pass it back exactly as
            received in `selections[].offer_id`; do not parse or build it.
          example: anc_3f9a1c27e4b8d051
        traveler_ref:
          type: string
          description: >-
            The traveler the selection applies to; absent on a booking-level
            ancillary.
          example: pax_1
        pax_ref_id:
          type: string
          description: 'Deprecated: use `traveler_ref` instead. Same value.'
          example: pax_1
          deprecated: true
        quantity:
          type: integer
          example: 1
        type:
          type: string
          description: >-
            Ancillary family on a booked outcome, e.g. "seat" or "bag"
            (lowercase, open set). May be absent before booking.
          example: seat
        seat_number:
          type: string
          example: 14A
        segment_ref_ids:
          type: array
          items:
            type: string
          example:
            - seg_1
        price:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `price_money` instead. The unit price of the
                chosen seat, set by the server: major units in the trip
                currency. Absent for a free seat or a selection without its own
                unit price.
              deprecated: true
        price_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The exact unit price of the chosen seat, set by the server.
                Absent for a free seat or a selection without its own unit
                price, e.g. a bag.
        status:
          type: string
          enum:
            - pending
            - confirmed
            - failed
          description: >-
            Absent before booking. For seats, `pending` means the airline has
            not confirmed the seat yet. `confirmed` means booked with the
            airline. `failed` means not booked.
        not_charged:
          type: boolean
          description: true when this seat is not charged to the traveler.
        failure_reason:
          type: string
          description: >-
            Why an ancillary failed, or why a pending airline outcome needs
            reconciliation.
      required:
        - offer_id
      description: >-
        An ancillary selected on a trip item, as the trip read and the
        select_ancillaries response both return it. Provider data is never
        included.
    PriceChange:
      type: object
      properties:
        original:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `original_money` instead. The selling price
                shown at search time, before the quote, in MAJOR currency units.
              deprecated: true
        current:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `current_money` instead. The selling price the
                trip is quoted at — the same figure as `price` — in MAJOR
                currency units.
              deprecated: true
        delta:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `delta_money` instead. `current` minus
                `original`, SIGNED, in MAJOR currency units: positive when the
                price rose, negative when it fell.
              deprecated: true
        original_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: The selling price shown at search time, before the quote.
        current_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The selling price the trip is quoted at — the same figure as
                `price_money`.
        delta_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                `current_money` minus `original_money`, SIGNED: `value` is
                positive when the price rose, negative when it fell.
      required:
        - original
        - current
        - delta
      description: >-
        The move between the price shown at search time and the price the trip
        is quoted at, stated as three figures so the caller can report it
        without subtracting. Read `original_money`, `current_money` and
        `delta_money`; the deprecated `original`, `current` and `delta` carry
        the same figures in major currency units. All are in one currency,
        matching the item’s price. Present ONLY when the two differ — an item
        whose price held carries no `price_change` at all, and `price_changed`
        is true whenever it is present.
    HotelTerms:
      type: object
      properties:
        terms_as_of:
          type: string
          enum:
            - search
            - quote
          description: >-
            How fresh these terms are. `search` — captured in the search
            snapshot the item was created from and held since. `quote` — re-read
            from the provider when the trip was quoted. Today the platform
            always answers `search`.
          example: search
        taxes_breakdown:
          type: array
          items:
            $ref: '#/components/schemas/TaxLine'
          description: >-
            Taxes and fees on the held rate. An empty array means no tax is
            known, not that there is none; check `included` per line before
            adding anything to the item price.
        cancellation_schedule:
          type: array
          items:
            $ref: '#/components/schemas/CancellationStep'
          description: >-
            The penalty ladder for this rate, chronological. Absent when the
            provider published none — which is not a statement that cancelling
            is free.
        free_cancellation_until:
          type: string
          description: >-
            Last instant the stay can be cancelled at no charge. RFC 3339 with
            the supplier’s declared UTC offset. Absent when the supplier
            declared no timezone — the platform never invents an offset, so a
            deadline it cannot place on the clock is withheld rather than
            published ambiguously — and absent when the rate is non-refundable
            or the provider named no deadline.
          example: '2026-08-18T10:00:00+02:00'
        is_refundable:
          type: boolean
          example: false
        board_type:
          type: string
          example: RO
        board_name:
          type: string
          example: Room Only
        payment_types:
          type: array
          items:
            $ref: '#/components/schemas/HotelPaymentType'
          description: How the rate can be settled. Each value appears at most once.
          example:
            - pay_now
        room_name:
          type: string
          example: Superior Double
        room_capacity:
          type: integer
          example: 2
      description: >-
        The rate terms behind a hotel item — cancellation ladder, taxes, board
        and room — as the platform holds them. They were captured at SEARCH time
        and are not re-confirmed at quote: read `terms_as_of` before treating
        any of them as a guarantee of what the provider will charge at booking.
        Present on hotel items only.
    Occupancy:
      type: object
      properties:
        adults:
          type: integer
          minimum: 1
        children_ages:
          type: array
          items:
            type: integer
            minimum: 0
            maximum: 17
      required:
        - adults
      description: >-
        The party one room is requested or priced for: the number of adults and
        the age of each child.
    TaxLine:
      type: object
      properties:
        amount:
          type: number
          description: >-
            Deprecated: use `amount_money` instead. The tax in MAJOR units of
            `currency`.
          example: 164.49
          deprecated: true
        currency:
          type: string
          description: 'Deprecated: use `amount_money` instead. The currency of `amount`.'
          example: EUR
          deprecated: true
        amount_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The tax. When the supplier named no currency for the line, it is
                the currency the rate is priced in.
        description:
          type: string
          description: The provider’s own wording for the tax. Free text, not a code.
          example: 19, VAT National taxes on accommodation
        included:
          type: boolean
          description: >-
            True when the amount is ALREADY inside `total_amount_money`; false
            when the guest pays it at the property on top. Getting this
            backwards misquotes the trip.
          example: true
        display:
          type: string
          description: >-
            Deprecated: use `amount_money` instead. The same figure as a string
            ready to show: the ISO 4217 code, a space, then the amount, e.g.
            "USD 159.77". With decimal_places it is written at exactly that
            scale (value 1561500, JPY, decimal_places 2 is "JPY 15615.00");
            without, at the ISO digits of the currency. Show this; compute with
            the number. Absent when the figure is not money (a cancellation step
            expressed as a percent or a number of nights) or could not be read
            unambiguously.
          example: EUR 164.49
          deprecated: true
    HotelBundleRoomPolicy:
      type: object
      properties:
        type:
          type: string
        description:
          type: string
        fee_amount:
          type: number
          description: >-
            Deprecated: use `fee_amount_money` instead. Customer policy fee in
            MAJOR units of `fee_currency`.
          deprecated: true
        fee_currency:
          type: string
          description: >-
            Deprecated: use `fee_amount_money` instead. The currency of
            `fee_amount`.
          deprecated: true
        fee_amount_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                Customer cancellation or policy fee, with exact minor units and
                currency precision.
    CancellationStep:
      type: object
      properties:
        cancel_time:
          type: string
          description: >-
            Deadline after which this tier applies. RFC 3339 with the supplier’s
            declared UTC offset. Steps whose deadline has no declared timezone
            are omitted from the ladder — the platform never invents an offset —
            so a schedule can be shorter than the supplier’s own. Tiers are
            chronological, earliest first, so the first entry is the deadline
            that matters.
          example: '2026-08-18T10:00:00+02:00'
        amount:
          type: number
          description: >-
            Deprecated: use `amount_money` instead. Read `amount_money`,
            `percent` or `nights`, whichever this step carries. What the guest
            is charged on or after `cancel_time`: a sum in MAJOR units of
            `currency`, a percentage or a number of nights, as `type` says.
          example: 606.13
          deprecated: true
        currency:
          type: string
          description: 'Deprecated: use `amount_money` instead. The currency of `amount`.'
          example: EUR
          deprecated: true
        type:
          type: string
          description: >-
            How the charge is expressed — a sum ("amount", "flat_fee"; read
            `amount_money`), a percentage ("percent", "percentage"; read
            `percent`) or a number of nights ("nights"; read `nights`).
          example: amount
        display:
          type: string
          description: >-
            Deprecated: use `amount_money` instead. The same figure as a string
            ready to show: the ISO 4217 code, a space, then the amount, e.g.
            "USD 159.77". With decimal_places it is written at exactly that
            scale (value 1561500, JPY, decimal_places 2 is "JPY 15615.00");
            without, at the ISO digits of the currency. Show this; compute with
            the number. Absent when the figure is not money (a cancellation step
            expressed as a percent or a number of nights) or could not be read
            unambiguously.
          example: EUR 606.13
          deprecated: true
        amount_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                What the guest is charged on or after `cancel_time`, when this
                step is a sum. Absent on a percentage or nights step, and when
                the supplier named no currency.
        percent:
          type: number
          description: >-
            The charge as a percentage of the stay price, when this step is a
            percentage, on the 0–100 scale the supplier states it in: 50 is half
            the stay price, 100 the whole of it. Never a 0–1 fraction. Absent
            otherwise.
          example: 50
        nights:
          type: number
          description: >-
            The charge as a number of nights of the stay, when this step is
            expressed in nights. Absent otherwise.
          example: 1
    HotelPaymentType:
      type: string
      enum:
        - pay_now
        - pay_at_property
        - deposit
      description: >-
        How the rate can be settled. `pay_now` — paid when the booking is made.
        `pay_at_property` — paid to the hotel at the property. `deposit` — a
        deposit is taken.
    AncillarySeatMap:
      type: object
      properties:
        segment_ref_id:
          type: string
          example: seg_1
        flight_number:
          type: string
          example: W62202
        seats:
          type: array
          items:
            $ref: '#/components/schemas/AncillarySeat'
      description: >-
        The numbered seats for the segment covered by a seat offer. Select a
        seat with `available` true; its `price_money`, when present, is exact
        money in the trip currency.
    AncillarySeat:
      type: object
      properties:
        seat_number:
          type: string
          example: 14A
        available:
          type: boolean
        chargeable:
          type: boolean
          description: True when the seat has a price.
        price:
          allOf:
            - $ref: '#/components/schemas/Money'
            - description: >-
                Deprecated: use `price_money` instead. The seat price in major
                units in the trip currency.
              deprecated: true
        price_money:
          allOf:
            - $ref: '#/components/schemas/MoneyValue'
            - description: >-
                The exact seat price in the trip currency. Absent for a free
                seat.
        characteristics:
          type: array
          items:
            type: string
          example:
            - WINDOW
      description: >-
        A numbered seat. Read `price_money` for its exact price in the trip
        currency. Both price fields are absent for a free seat.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.