> ## 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.

# car-search

> Search live car rental offers

Search live car rental availability. `pick_up` names exactly one of an `airport_code` (IATA), a free-text `place` in any language (resolved server-side and echoed as `resolved_place`; a region or unclear text returns `candidates` to retry with), or `geo` coordinates; `drop_off` takes the same choice. Date-times are branch-local `YYYY-MM-DDTHH:MM:SS` with no timezone. Omit `drop_off` to return the car to the pick-up branch, setting `drop_off_date_time`. Pass each offer's `trip_item_token` verbatim to `POST /v1/trip` as `add_item.trip_item_token` to add the rental to a trip, then check out as normal. `price.pay_now` is the only amount Jinko charges, `due_at_desk` is collected by the rental desk locally. Offers come cheapest first; `max_results` (default 50) caps them and `total_found` counts every offer found.


## OpenAPI

````yaml api-reference/public-api.yaml POST /v1/car_search
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/car_search:
    post:
      tags:
        - Cars
      summary: Search live car rental offers
      description: >-
        Search live car rental availability. `pick_up` names exactly one of an
        `airport_code` (IATA), a free-text `place` in any language (resolved
        server-side and echoed as `resolved_place`; a region or unclear text
        returns `candidates` to retry with), or `geo` coordinates; `drop_off`
        takes the same choice. Date-times are branch-local `YYYY-MM-DDTHH:MM:SS`
        with no timezone. Omit `drop_off` to return the car to the pick-up
        branch, setting `drop_off_date_time`. Pass each offer's
        `trip_item_token` verbatim to `POST /v1/trip` as
        `add_item.trip_item_token` to add the rental to a trip, then check out
        as normal. `price.pay_now` is the only amount Jinko charges —
        `due_at_desk` is collected by the rental desk locally. Offers come
        cheapest first; `max_results` (default 50) caps them and `total_found`
        counts every offer found.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarSearchRequest'
      responses:
        '200':
          description: Bookable car rental offers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarSearchResponse'
        '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: >-
            The request failed validation, or the rental supplier declined the
            search. When a supplier declined the request, `error.message` is
            “The rental request was declined. Try another vehicle, location or
            time.” **`BAD_REQUEST`** — The request was malformed or failed
            validation. Fix the request as the message describes; retrying it
            unchanged cannot succeed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: >-
                    The rental request was declined. Try another vehicle,
                    location or time.
        '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:
    CarSearchRequest:
      type: object
      properties:
        pick_up:
          $ref: '#/components/schemas/CarPickUp'
        drop_off:
          $ref: '#/components/schemas/CarDropOff'
        drop_off_date_time:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
          description: >-
            Drop-off date-time for a round trip, branch-local. Required when
            `drop_off` is omitted.
          example: '2026-09-15T10:00:00'
        driver_age:
          type: integer
          minimum: 18
          maximum: 99
          description: >-
            Driver's age at pick-up (18-99). Pricing and availability are
            age-dependent.
          example: 30
        residence_country:
          type: string
          pattern: ^[A-Za-z]{2}$
          description: >-
            Driver's country of residence, ISO 3166-1 alpha-2. Rates and
            inclusions vary by residence.
          example: FR
        currency:
          type: string
          minLength: 3
          maxLength: 3
          description: ISO 4217 display currency. Defaults to USD.
          example: EUR
        lang:
          type: string
          description: BCP-47 language tag for vehicle and branch text.
          example: en-gb
        max_results:
          type: integer
          minimum: 1
          maximum: 500
          description: >-
            How many offers to return, in `sort` order (default 50, at most
            500). `total_found` says how many the search found.
          example: 50
        sort:
          type: string
          enum:
            - price
          description: 'Offer order. `price` (the default): `price.pay_now`, cheapest first.'
          example: price
        intent:
          $ref: '#/components/schemas/IntentInput'
      required:
        - pick_up
        - driver_age
        - residence_country
      description: >-
        `pick_up` names exactly one of `airport_code`, `place` or `geo`, and a
        drop-off time must come from `drop_off.date_time` or
        `drop_off_date_time`. These rules are enforced at runtime but cannot be
        expressed in JSON Schema, so they do not appear in `required`.
      example:
        pick_up:
          airport_code: LYS
          date_time: '2026-09-12T10:00:00'
        drop_off_date_time: '2026-09-15T10:00:00'
        driver_age: 30
        residence_country: FR
        currency: EUR
    CarSearchResponse:
      type: object
      properties:
        offers:
          type: array
          items:
            $ref: '#/components/schemas/CarOffer'
          description: 'In `sort` order: by default `price.pay_now`, cheapest first.'
        total_found:
          type: integer
          description: >-
            How many offers the search found. More than the number of `offers`
            when `max_results` cut the list; ask for more, or narrow the search.
          example: 2775
        currency:
          type: string
          example: EUR
        resolved_place:
          $ref: '#/components/schemas/CarResolvedPlace'
        alternatives:
          type: array
          items:
            $ref: '#/components/schemas/CarResolvedPlace'
          description: >-
            Other places the free-text `place` may have meant, beside the offers
            — the other cities named "Portland", the other boroughs of "New
            York". Search one with `place` set to its `place`.
        candidates:
          type: array
          items:
            $ref: '#/components/schemas/CarResolvedPlace'
          description: >-
            Returned instead of offers when a free-text `place` names a region
            or cannot be pinned down. Retry with `place` set to a candidate's
            `place`.
        warnings:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
          description: >-
            Notices about the search itself. `place_ambiguous`: the `place`
            needs a retry with a candidate. `place_widened`: nothing near a
            landmark or address had offers, so the nearest airport or city was
            searched instead; `resolved_place` names it.
    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
    CarPickUp:
      type: object
      properties:
        date_time:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
          description: Pick-up date-time, branch-local, no timezone.
          example: '2026-09-12T10:00:00'
        airport_code:
          type: string
          pattern: ^[A-Za-z]{3}$
          description: IATA airport code.
          example: LYS
        place:
          type: string
          minLength: 1
          description: >-
            Free-text location in any language — a city, station, airport,
            landmark or address. Resolved server-side to the rental airport,
            station or whole city it names, or searched around its position (a
            landmark, an address); `resolved_place` says how. A region, or text
            that cannot be pinned down, returns `candidates` instead of offers —
            retry with a candidate's `place`.
          example: Lyon city centre
        geo:
          $ref: '#/components/schemas/CarGeo'
      required:
        - date_time
    CarDropOff:
      type: object
      properties:
        date_time:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
          description: >-
            Drop-off date-time, branch-local. May instead be given as the
            top-level `drop_off_date_time`.
        airport_code:
          type: string
          pattern: ^[A-Za-z]{3}$
          description: IATA airport code.
          example: LYS
        place:
          type: string
          minLength: 1
          description: >-
            Free-text location in any language — a city, station, airport,
            landmark or address. Resolved server-side to the rental airport,
            station or whole city it names, or searched around its position (a
            landmark, an address); `resolved_place` says how. A region, or text
            that cannot be pinned down, returns `candidates` instead of offers —
            retry with a candidate's `place`.
          example: Lyon city centre
        geo:
          $ref: '#/components/schemas/CarGeo'
      description: >-
        Where the car is returned. Omit for a round trip (return to the pick-up
        branch) and set `drop_off_date_time` instead.
    IntentInput:
      type: object
      properties:
        user_intent:
          type: string
          nullable: true
          description: >-
            The user's natural-language intent: the Alpic PII-stripped
            paraphrase when available, else a best-effort fallback to the
            client-provided NL query.
          example: find a cheap flight to Tokyo
    CarOffer:
      type: object
      properties:
        trip_item_token:
          type: string
          description: >-
            The trip item token. Pass verbatim to POST /v1/trip as
            `add_item.trip_item_token` to add this rental to a trip.
          example: car_9f3b2a17c4e8d501
        offer_id:
          type: string
          description: 'Deprecated: use `trip_item_token` instead. Same value.'
          example: car_9f3b2a17c4e8d501
          deprecated: true
        vehicle:
          $ref: '#/components/schemas/CarVehicle'
        package:
          $ref: '#/components/schemas/CarPackage'
        pick_up:
          $ref: '#/components/schemas/CarBranch'
        drop_off:
          $ref: '#/components/schemas/CarBranch'
        price:
          $ref: '#/components/schemas/CarOfferPrice'
        driver_age_range:
          $ref: '#/components/schemas/CarDriverAgeRange'
        on_request:
          type: boolean
          description: >-
            The supplier confirms availability after booking rather than
            instantly.
        cancellation_fees:
          type: array
          items:
            $ref: '#/components/schemas/CarCancellationFee'
          description: >-
            Fee tiers by time before pick-up. An EMPTY list means the schedule
            is unknown — never render it as free cancellation.
        expires_at:
          type: string
          description: >-
            When the trip_item_token stops being addable to a trip. Re-search
            after this.
          example: '2026-09-12T10:30:00Z'
      required:
        - trip_item_token
        - offer_id
    CarResolvedPlace:
      type: object
      properties:
        name:
          type: string
          example: Lyon City Centre
        kind:
          type: string
          description: >-
            One of "airport", "railway", "port" or "bus"; "city" for a whole
            city, searched across all its rental offices; "area" for a place
            searched around its position (a landmark, an address). Absent for a
            city-centre rental office.
          example: airport
        city:
          type: string
          example: Lyon
        country:
          type: string
          example: FR
        place:
          type: string
          description: >-
            On candidates and alternatives: the `place` to search with to get
            exactly this one.
          example: Portland, USA Oregon
        source:
          type: string
          description: >-
            On `resolved_place`: "catalog" when the text named a rental place
            exactly, "geocoder" when it was located on a map and matched to the
            rental places there.
          example: catalog
      description: >-
        How a free-text `place` was interpreted. Echoed so the caller can
        confirm the resolution.
    CarGeo:
      type: object
      properties:
        latitude:
          type: number
          minimum: -90
          maximum: 90
          example: 45.7256
        longitude:
          type: number
          minimum: -180
          maximum: 180
          example: 5.0811
        range:
          type: integer
          minimum: 50
          description: Search radius around the coordinates, in metres (minimum 50).
          example: 5000
      required:
        - latitude
        - longitude
        - range
      description: >-
        Coordinates + radius. Searches the closest rental branches (at most 30).
        Works on either end: a one-way may pair `geo` with any place on the
        other end.
    CarVehicle:
      type: object
      properties:
        acriss_code:
          type: string
          example: CDMR
        name:
          type: string
          example: Honda Accord or similar
        category:
          type: string
          example: compact
        type:
          type: string
          example: sedan
        transmission:
          type: string
          example: manual
        fuel_type:
          type: string
        seats:
          type: string
          description: A string — suppliers publish ranges like "5-7".
          example: '5'
        doors:
          type: string
          description: A string, like seats.
        big_suitcases:
          type: integer
          example: 2
        small_suitcases:
          type: integer
          example: 1
        air_conditioned:
          type: boolean
        built_in_gps:
          type: boolean
        model_guaranteed:
          type: boolean
          description: >-
            False is the ordinary "or similar" rental promise: the supplier
            guarantees the class, not this exact model. Do not present the model
            as confirmed unless this is true.
        supplier_code:
          type: string
          description: >-
            The supplier's own code for this vehicle class, not for the rental
            company — cars from one company carry many different values here.
            Opaque; do not parse or match companies on it.
          example: D
        images:
          type: array
          items:
            $ref: '#/components/schemas/CarImage'
    CarPackage:
      type: object
      properties:
        name:
          type: string
          example: Fully Inclusive
        code:
          type: string
          description: The provider's own code for this rate package. Opaque.
          example: FI
        supplier_name:
          type: string
          description: >-
            The rental company the driver actually collects the car from — Avis,
            Hertz, Europcar, Sixt. It is that company, not Jinko or any
            intermediary, whose desk, deposit rules and fuel policy apply, so it
            is the supplier identity to show a customer. Read off the pick-up
            branch, so a one-way rental names the collecting company, never the
            returning one.
          example: Avis
        supplier_code:
          type: string
          description: >-
            The pick-up branch's own code, scoped to a station rather than to a
            company. Opaque, and NOT comparable with vehicle.supplier_code —
            match companies on supplier_name.
          example: DEMO_BCN
        fuel_policy:
          type: string
          example: full_to_full
        mileage_unlimited:
          type: boolean
        mileage_allowance:
          type: string
        inclusions:
          type: array
          items:
            nullable: true
        coverages:
          type: array
          items:
            $ref: '#/components/schemas/CarCoverage'
        fees:
          type: array
          items:
            $ref: '#/components/schemas/CarFee'
    CarBranch:
      type: object
      properties:
        name:
          type: string
          example: Lyon Saint-Exupery Airport
        address:
          type: string
        city:
          type: string
          example: Lyon
        country:
          type: string
          example: FR
        phone:
          type: string
        date_time:
          type: string
          description: The pick-up or drop-off time at this branch, branch-local.
          example: '2026-09-12T10:00:00'
        time_zone:
          type: string
          example: Europe/Paris
        latitude:
          type: number
        longitude:
          type: number
        opening_hours:
          type: string
          description: >-
            The branch's published hours, as supplied. Free text, not a
            parseable schedule.
        out_of_hours:
          type: boolean
          description: >-
            This pick-up or drop-off falls outside the published hours, which
            usually carries a surcharge. Only asserted when that day's hours
            were published, so false means "within hours, or not stated" and
            never "checked and fine".
        requires_flight_number:
          type: string
          description: >-
            The branch policy: "never", "always" or "out_of_hours_pickup" — what
            the rental desk asks for, not a booking requirement. Every branch is
            bookable either way: pass the driver's flight as
            `upsert_travelers.contact.flight_number` on `POST /v1/trip` when you
            have it, and the rental company can hold the car for a delayed
            flight. Omitting it never blocks checkout.
          example: never
        terminals:
          type: array
          items:
            type: string
          description: The airport terminals this branch serves, when it is at one.
        is_meet_and_greet:
          type: boolean
          description: >-
            The supplier meets the driver instead of staffing a desk, so there
            is nowhere to walk up to. Tell the customer to expect a meeting
            point.
    CarOfferPrice:
      type: object
      properties:
        pay_now:
          allOf:
            - $ref: '#/components/schemas/CarAmount'
            - description: The only amount Jinko charges at checkout.
        due_at_desk:
          allOf:
            - $ref: '#/components/schemas/CarAmount'
            - description: >-
                Collected by the rental desk locally, in local currency.
                Display-only.
        estimated_total:
          allOf:
            - $ref: '#/components/schemas/CarAmount'
            - description: pay_now + due_at_desk, where both are known.
        deposit:
          allOf:
            - $ref: '#/components/schemas/CarAmount'
            - description: Security hold taken at the desk, not a charge.
    CarDriverAgeRange:
      type: object
      properties:
        min:
          type: integer
          example: 25
        max:
          type: integer
          example: 75
      description: >-
        The age band this price was quoted for, as the supplier states it. A
        driver outside the band is refused at the counter.
    CarCancellationFee:
      type: object
      properties:
        type:
          type: string
          example: cancellation
        fee:
          $ref: '#/components/schemas/CarAmount'
        non_refundable:
          type: boolean
        applicable_from:
          type: string
        applicable_to:
          type: string
        applicable_now:
          type: boolean
        seconds_before_pick_up:
          type: number
    CarImage:
      type: object
      properties:
        url:
          type: string
          example: https://images.example.com/cars/6f2a.jpg
      description: >-
        One supplier-published photo of the vehicle class. Only the URL is
        carried: the provider labels a size rather than publishing pixel
        dimensions.
    CarCoverage:
      type: object
      properties:
        name:
          type: string
          example: Collision Damage Waiver
        excess:
          $ref: '#/components/schemas/CarAmount'
        included_in_vehicle_price:
          type: boolean
        mandatory:
          type: boolean
        paid_at:
          type: string
          example: now
        price:
          $ref: '#/components/schemas/CarAmount'
      description: >-
        One insurance line on a package. `excess` is the driver’s maximum
        liability under it — absent when the supplier stated none, which is not
        zero excess. `price` is the line’s own charge when it is not already
        inside the vehicle price.
    CarFee:
      type: object
      properties:
        name:
          type: string
          example: One-way fee
        included_in_vehicle_price:
          type: boolean
        mandatory:
          type: boolean
        paid_at:
          type: string
          example: local
        price:
          $ref: '#/components/schemas/CarAmount'
      description: >-
        One fee attached to the rental, with when it is paid (`paid_at`) and
        whether it is already inside the vehicle price.
    CarAmount:
      type: object
      properties:
        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: EUR
        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: EUR 412.50
  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.