Pricing & booking

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.

get/v1/trip/{trip_id}/ancillaries

Request

  • Base URL
    https://api.gojinko.com
  • URL
    https://api.gojinko.com/v1/trip/{trip_id}/ancillaries
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

trip_idstring required

Response

Ancillaries ready: status: "ready" with items[].

trip_idstring required
statusstring required
quote_idstring
quoted_cart_idnumber

Deprecated: use quote_id instead. The same quote as an integer.

expires_atstring
retry_after_secondsinteger

Example response

{
  "status": "ready",
  "quote_id": "2097152",
  "items": [
    {
      "item_id": "itm_4b91c2",
      "kind": "flight",
      "offer_id": "htl_2d67a7441c60e5de",
      "trip_item_token": "of_9c1d2e:FARE_ABC",
      "hotel_id": "lp1f2c3",
      "booking_scope": "room_bundle",
      "num_rooms": 1,
      "rooms": [
        {
          "occupancy_number": 1,
          "room_name": "Superior Double",
          "board_type": "BB",
          "board_name": "Breakfast Included",
          "taxes_and_fees": [
            {
              "amount": 164.49,
              "currency": "EUR",
              "amount_money": {
                "value": 41250,
                "currency": "USD",
                "decimal_places": 2,
                "display": "USD 412.50"
              },
              "description": "19, VAT National taxes on accommodation",
              "included": true,
              "display": "EUR 164.49"
            }
          ],
          "policies": [
            {
              "fee_amount_money": {
                "value": 41250,
                "currency": "USD",
                "decimal_places": 2,
                "display": "USD 412.50"
              }
            }
          ],
          "cancellation_policy": [
            {
              "cancel_time": "2026-08-18T10:00:00+02:00",
              "amount": 606.13,
              "currency": "EUR",
              "type": "amount",
              "display": "EUR 606.13",
              "amount_money": {
                "value": 41250,
                "currency": "USD",
                "decimal_places": 2,
                "display": "USD 412.50"
              },
              "percent": 50,
              "nights": 1
            }
          ],
          "payment_types": [
            "pay_now"
          ]
        }
      ],
      "price": {
        "value": 41250,
        "currency": "USD",
        "decimal_places": 2,
        "display": "USD 412.50"
      },
      "price_money": {
        "value": 41250,
        "currency": "USD",
        "decimal_places": 2,
        "display": "USD 412.50"
      },
      "pax_count": 1,
      "available_ancillaries": [
        {
          "offer_id": "anc_3f9a1c27e4b8d051",
          "type": "bag",
          "label": "bag&1 x large 55 x 40 x 20 cm&Includes Speedy Boarding",
          "display_label": "bag, 1 x large 55 x 40 x 20 cm, Includes Speedy Boarding",
          "price_per_unit": {
            "value": 41250,
            "currency": "USD",
            "decimal_places": 2,
            "display": "USD 412.50"
          },
          "price_per_unit_money": {
            "value": 41250,
            "currency": "USD",
            "decimal_places": 2,
            "display": "USD 412.50"
          },
          "scope": "PER_PAX_PER_SEGMENT",
          "segment_ref_ids": [
            "seg_1"
          ],
          "seat_map": {
            "segment_ref_id": "seg_1",
            "flight_number": "W62202",
            "seats": [
              {
                "seat_number": "14A",
                "price": {
                  "value": 41250,
                  "currency": "USD",
                  "decimal_places": 2,
                  "display": "USD 412.50"
                },
                "price_money": {
                  "value": 41250,
                  "currency": "USD",
                  "decimal_places": 2,
                  "display": "USD 412.50"
                },
                "characteristics": [
                  "WINDOW"
                ]
              }
            ]
          },
          "per_pax": true,
          "max_quantity": 2,
          "paid_at": "now"
        }
      ],
      "selected_ancillaries": [
        {
          "offer_id": "anc_3f9a1c27e4b8d051",
          "traveler_ref": "pax_1",
          "pax_ref_id": "pax_1",
          "quantity": 1,
          "type": "seat",
          "seat_number": "14A",
          "segment_ref_ids": [
            "seg_1"
          ],
          "price": {
            "value": 41250,
            "currency": "USD",
            "decimal_places": 2,
            "display": "USD 412.50"
          },
          "price_money": {
            "value": 41250,
            "currency": "USD",
            "decimal_places": 2,
            "display": "USD 412.50"
          }
        }
      ],
      "price_changed": true,
      "original_price": {
        "value": 41250,
        "currency": "USD",
        "decimal_places": 2,
        "display": "USD 412.50"
      },
      "original_price_money": {
        "value": 41250,
        "currency": "USD",
        "decimal_places": 2,
        "display": "USD 412.50"
      },
      "price_change": {
        "original": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        },
        "current": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        },
        "delta": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        },
        "original_money": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        },
        "current_money": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        },
        "delta_money": {
          "value": 41250,
          "currency": "USD",
          "decimal_places": 2,
          "display": "USD 412.50"
        }
      },
      "required_attributes": {
        "source": "provider",
        "per_passenger": [
          "PassportNumber",
          "PassportExpiryDate",
          "DateOfBirth"
        ],
        "booking": [
          "BillingAddress",
          "PostCode"
        ],
        "per_passenger_conditional": [
          "Nationality"
        ]
      },
      "hotel_terms": {
        "terms_as_of": "search",
        "taxes_breakdown": [
          {
            "amount": 164.49,
            "currency": "EUR",
            "amount_money": {
              "value": 41250,
              "currency": "USD",
              "decimal_places": 2,
              "display": "USD 412.50"
            },
            "description": "19, VAT National taxes on accommodation",
            "included": true,
            "display": "EUR 164.49"
          }
        ],
        "cancellation_schedule": [
          {
            "cancel_time": "2026-08-18T10:00:00+02:00",
            "amount": 606.13,
            "currency": "EUR",
            "type": "amount",
            "display": "EUR 606.13",
            "amount_money": {
              "value": 41250,
              "currency": "USD",
              "decimal_places": 2,
              "display": "USD 412.50"
            },
            "percent": 50,
            "nights": 1
          }
        ],
        "free_cancellation_until": "2026-08-18T10:00:00+02:00",
        "board_type": "RO",
        "board_name": "Room Only",
        "payment_types": [
          "pay_now"
        ],
        "room_name": "Superior Double",
        "room_capacity": 2
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.