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

> ## Agent Instructions
> This site documents the D-EDGE APIs for technology partners (web agencies, OTAs, PMS and RMS vendors, booking and CRM tools). It is written for developers integrating with hotels that use the D-EDGE platform.
> Seven APIs, grouped by domain. Connectivity: Channel Manager API (distribute a hotel's inventory to your channel and send bookings back). Pricing & Availability: Best Price API (best offers to highlight), Quotation API (all bookable offers for a stay), Daily Rates API (daily availability between two dates). Booking: Booking Engine API (a hotel's full direct booking funnel), Gift Shop API (gift vouchers from catalogue to payment). Guest Management: CRM API (guest profiles).
> Pick the API by the need: to display prices, use the Best Price API or the Daily Rates API; to quote a specific stay, use the Quotation API; to book, use the Booking Engine API; to sell gift vouchers, use the Gift Shop API; to manage guest profiles, use the CRM API; to receive hotel inventory and send bookings back as a distribution channel, use the Channel Manager API.
> Base URLs, hotel identifiers, and credentials are delivered by the D-EDGE partnership team during onboarding. Do not invent base URLs, endpoints, parameters, or example credentials that do not appear on these pages.
> Authentication differs per API: OAuth 1.0 for Best Price, Quotation, Daily Rates, and Booking Engine; an X-API-KEY header for Gift Shop; OAuth 2.0 client credentials for CRM; partner-defined credentials carried in the XML message for the Channel Manager API. Read each API's Authentication page before writing code.
> A mock environment returns realistic but fictitious data without credentials. The Postman and Insomnia collections on the API collections page target it by default. Use it for exploration and tests, never for production traffic.
> Use the official names exactly: D-EDGE, D-EDGE platform, Channel Manager API, partnership team. Do not use Back Office or Extranet.
> Each API has a Changelog page. Check it for the current behaviour before relying on an older answer. For questions these pages do not answer, direct the reader to the Contact us page.

# Get a quote for the basket

> Get a quote for the basket associated with the session



## OpenAPI

````yaml booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/quote
openapi: 3.0.1
info:
  title: Booking Engine API
  version: v2
servers:
  - url: https://{apiBaseUrl}
    variables:
      apiBaseUrl:
        default: api.example.com
        description: Base URL delivered by D-EDGE during partnership setup
security: []
tags:
  - name: Basket
  - name: Booking
  - name: Configuration
  - name: Description
  - name: Loyalty
  - name: Promotion
  - name: Resources
  - name: Search
  - name: Session
paths:
  /v2/{sessionId}/quote:
    get:
      tags:
        - Basket
      summary: Get a quote for the basket associated with the session
      description: "Returns pricing details for the current basket including room prices, taxes,\r\ncancel/deposit conditions, and payment modes. Supports optional additional\r\ndiscount and call option override parameters via headers."
      operationId: Basket_GetQuote
      parameters:
        - name: X-AVP-DiscountCalculationMode
          in: header
          description: The discount calculation mode.
          required: false
          schema:
            type: string
        - name: X-AVP-DiscountValue
          in: header
          description: The discount value.
          required: false
          schema:
            type: string
        - name: X-AVP-CallOptionAmount
          in: header
          description: The option amount.
          required: false
          schema:
            type: string
        - name: X-AVP-CallOptionValidityHours
          in: header
          description: The option hours validity.
          required: false
          schema:
            type: string
        - name: X-AVP-CallOptionDisableCardGuarantee
          in: header
          required: false
          schema:
            type: string
        - name: X-AVP-Impersonation
          in: header
          description: The impersonation.
          required: false
          schema:
            type: string
        - name: sessionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Basket.HubQuotePresenter'
              examples:
                response:
                  value:
                    rooms:
                      - roomId: 29449
                        occupancies:
                          - occupancyId: 0
                            quantity: 1
                            price:
                              converted:
                                text: 361,80 €
                                value:
                                  amount: 361.8
                                  currency: EUR
                              original:
                                text: 434,16 USD
                                value:
                                  amount: 434.16
                                  currency: USD
                            isLoyalty: false
                            canUseRedemption: false
                            redemptionQuantity: 0
                        guestPosition: 0
                    cancelConditions:
                      name:
                        - text: Annulation gratuite avant le 08/01/2018
                          value: Default
                        - text: Annulation gratuite sous conditions
                          value: Short
                      summary:
                        - text: >-
                            Si annulée ou en cas de non présentation à l'hôtel,
                            la première nuit sans les extras est facturée et non
                            remboursable.
                          value: Default
                    depositConditions:
                      text: >-
                        La première nuit sans les extras est débitée à la
                        réservation.
                      value: >-
                        Dépôt de garantie du montant de la première nuit sans
                        les extras
                    sellingConditions:
                      totalAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      guaranteeAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      balanceAmount:
                        converted:
                          text: 20 €
                          value:
                            amount: 20
                            currency: EUR
                        original:
                          text: 24 USD
                          value:
                            amount: 24
                            currency: USD
                      balanceText: Le solde de 20 € devra être payé à l'hôtel
                      balanceOriginalText: Le solde de {0} € devra être payé à l'hôtel
                      discount:
                        name: Discount
                        description: 20€ de discount
                        calculationMode: Nominal
                        discountAmount:
                          converted:
                            text: 20 €
                            value:
                              amount: 20
                              currency: EUR
                          original:
                            text: 24 USD
                            value:
                              amount: 24
                              currency: USD
                        isPublic: true
                      guaranteeRedemptionQuantity: 0
                      canUseRedemption: false
                      isLoyalty: false
                    paymentModes:
                      - name: Default Deposit
                        type: DefaultDeposit
                        title: Payer uniquement le dépôt de garantie de 230 €
                        description: Le solde devra être payé à l'hôtel
                        depositAmount:
                          converted:
                            text: 230 €
                            value:
                              amount: 230
                              currency: EUR
                          original:
                            text: 276 USD
                            value:
                              amount: 276
                              currency: USD
                        depositRedemptionQuantity: 0
                        cancellationInsuranceAllowed: true
                        supportedCardTypes:
                          - Visa
                          - MasterCard
                        supportedPaymentMethods:
                          - Paypal
                        isFullOnlinePayment: false
                        scheduledPayment:
                          description: Réservez maintenant et payer 136 € le 20 avr. 2026.
                    insurance:
                      name: Allianz
                      price:
                        converted:
                          text: 18,80 €
                          value:
                            amount: 18.8
                            currency: EUR
                        original:
                          text: 22,56 USD
                          value:
                            amount: 22.56
                            currency: USD
                      insuredAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      termsUrl: http://insurances.com/Allianz-fr.pdf
                      ipidUrl: http://insurances.com/Allianz-IPID-fr.pdf
                      logoUrl: http://logo.com/monlogo.jpg
                      depositText: >-
                        Le montant de l'assurance annulation (18,80 €) est à
                        régler en ligne au moment de la réservation.
                    defaultPaymentType: DefaultDeposit
                    isSmsConfirmAvailable: true
                    marketing:
                      isOptinHotelAvailable: true
                      isOptinPartnersAvailable: true
            text/json:
              schema:
                $ref: '#/components/schemas/Basket.HubQuotePresenter'
              examples:
                response:
                  value:
                    rooms:
                      - roomId: 29449
                        occupancies:
                          - occupancyId: 0
                            quantity: 1
                            price:
                              converted:
                                text: 361,80 €
                                value:
                                  amount: 361.8
                                  currency: EUR
                              original:
                                text: 434,16 USD
                                value:
                                  amount: 434.16
                                  currency: USD
                            isLoyalty: false
                            canUseRedemption: false
                            redemptionQuantity: 0
                        guestPosition: 0
                    cancelConditions:
                      name:
                        - text: Annulation gratuite avant le 08/01/2018
                          value: Default
                        - text: Annulation gratuite sous conditions
                          value: Short
                      summary:
                        - text: >-
                            Si annulée ou en cas de non présentation à l'hôtel,
                            la première nuit sans les extras est facturée et non
                            remboursable.
                          value: Default
                    depositConditions:
                      text: >-
                        La première nuit sans les extras est débitée à la
                        réservation.
                      value: >-
                        Dépôt de garantie du montant de la première nuit sans
                        les extras
                    sellingConditions:
                      totalAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      guaranteeAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      balanceAmount:
                        converted:
                          text: 20 €
                          value:
                            amount: 20
                            currency: EUR
                        original:
                          text: 24 USD
                          value:
                            amount: 24
                            currency: USD
                      balanceText: Le solde de 20 € devra être payé à l'hôtel
                      balanceOriginalText: Le solde de {0} € devra être payé à l'hôtel
                      discount:
                        name: Discount
                        description: 20€ de discount
                        calculationMode: Nominal
                        discountAmount:
                          converted:
                            text: 20 €
                            value:
                              amount: 20
                              currency: EUR
                          original:
                            text: 24 USD
                            value:
                              amount: 24
                              currency: USD
                        isPublic: true
                      guaranteeRedemptionQuantity: 0
                      canUseRedemption: false
                      isLoyalty: false
                    paymentModes:
                      - name: Default Deposit
                        type: DefaultDeposit
                        title: Payer uniquement le dépôt de garantie de 230 €
                        description: Le solde devra être payé à l'hôtel
                        depositAmount:
                          converted:
                            text: 230 €
                            value:
                              amount: 230
                              currency: EUR
                          original:
                            text: 276 USD
                            value:
                              amount: 276
                              currency: USD
                        depositRedemptionQuantity: 0
                        cancellationInsuranceAllowed: true
                        supportedCardTypes:
                          - Visa
                          - MasterCard
                        supportedPaymentMethods:
                          - Paypal
                        isFullOnlinePayment: false
                        scheduledPayment:
                          description: Réservez maintenant et payer 136 € le 20 avr. 2026.
                    insurance:
                      name: Allianz
                      price:
                        converted:
                          text: 18,80 €
                          value:
                            amount: 18.8
                            currency: EUR
                        original:
                          text: 22,56 USD
                          value:
                            amount: 22.56
                            currency: USD
                      insuredAmount:
                        converted:
                          text: 230 €
                          value:
                            amount: 230
                            currency: EUR
                        original:
                          text: 276 USD
                          value:
                            amount: 276
                            currency: USD
                      termsUrl: http://insurances.com/Allianz-fr.pdf
                      ipidUrl: http://insurances.com/Allianz-IPID-fr.pdf
                      logoUrl: http://logo.com/monlogo.jpg
                      depositText: >-
                        Le montant de l'assurance annulation (18,80 €) est à
                        régler en ligne au moment de la réservation.
                    defaultPaymentType: DefaultDeposit
                    isSmsConfirmAvailable: true
                    marketing:
                      isOptinHotelAvailable: true
                      isOptinPartnersAvailable: true
        '401':
          description: >-
            Authentication header is invalid or does not give access to the
            operation
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BookingEngine.Hub.Service.Controllers.ErrorResponse_BookingEngine.Hub.Service.Config.SecurityErrorType_
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/BookingEngine.Hub.Service.Controllers.ErrorResponse_BookingEngine.Hub.Service.Config.SecurityErrorType_
components:
  schemas:
    Basket.HubQuotePresenter:
      required:
        - defaultPaymentType
        - isSmsConfirmAvailable
      type: object
      properties:
        rooms:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuoteRoom'
        hotelExtras:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuoteExtra'
        taxes:
          $ref: '#/components/schemas/Basket.HubQuoteTaxes'
        cancelConditions:
          $ref: '#/components/schemas/Common.HubCancelConditionResult'
        depositConditions:
          $ref: '#/components/schemas/Common.HubValueText_System.String_'
        sellingConditions:
          $ref: '#/components/schemas/Basket.HubQuoteSellingConditions'
        paymentModes:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuotePaymentMode'
        insurance:
          $ref: '#/components/schemas/Basket.HubQuoteInsurance'
        defaultPaymentName:
          type: string
        defaultPaymentType:
          $ref: '#/components/schemas/Basket.HubPaymentType'
        isSmsConfirmAvailable:
          type: boolean
        warnings:
          $ref: '#/components/schemas/Basket.HubQuoteWarnings'
        marketing:
          $ref: '#/components/schemas/Basket.HubMarketing'
        customField:
          $ref: '#/components/schemas/Basket.HubCustomField'
        guestTitles:
          type: array
          items:
            $ref: '#/components/schemas/Common.HubValueText_Basket.HubGuestTitle_'
    BookingEngine.Hub.Service.Controllers.ErrorResponse_BookingEngine.Hub.Service.Config.SecurityErrorType_:
      allOf:
        - $ref: >-
            #/components/schemas/BookingEngine.Hub.Service.Controllers.ErrorResponse
        - required:
            - code
          type: object
          properties:
            code:
              $ref: >-
                #/components/schemas/BookingEngine.Hub.Service.Config.SecurityErrorType
    Basket.HubQuoteRoom:
      required:
        - roomId
        - guestPosition
      type: object
      properties:
        roomId:
          $ref: '#/components/schemas/HotelBusiness.RoomId'
        occupancies:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuoteRoomOccupancy'
        extras:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuoteExtra'
        guestPosition:
          $ref: '#/components/schemas/Common.HubGuestPosition'
    Basket.HubQuoteExtra:
      required:
        - extraId
        - quantity
      type: object
      properties:
        extraId:
          $ref: '#/components/schemas/HotelBusiness.ExtraId'
        quantity:
          format: int32
          type: integer
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Basket.HubQuoteTaxes:
      type: object
      properties:
        includedTaxes:
          $ref: '#/components/schemas/Basket.HubQuoteTax'
        excludedTaxes:
          $ref: '#/components/schemas/Basket.HubQuoteTax'
        onSiteTaxes:
          $ref: '#/components/schemas/Basket.HubQuoteTax'
    Common.HubCancelConditionResult:
      type: object
      properties:
        name:
          type: array
          items:
            $ref: >-
              #/components/schemas/Common.HubValueText_Common.HubCancelConditionTermsFormat_
        summary:
          type: array
          items:
            $ref: >-
              #/components/schemas/Common.HubValueText_Common.HubCancelConditionTermsFormat_
    Common.HubValueText_System.String_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              type: string
    Basket.HubQuoteSellingConditions:
      required:
        - guaranteeRedemptionQuantity
        - canUseRedemption
        - isLoyalty
      type: object
      properties:
        totalAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        guaranteeAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        balanceAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        bookingFeesAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        balanceText:
          description: "Balance text with the replaced balance amount.\r\nThe balance amount does not contain on-site taxes price."
          type: string
        balanceOriginalText:
          description: Balance text with a "{0}" tag in place of the balance amount.
          type: string
        discount:
          $ref: '#/components/schemas/Basket.HubQuoteDiscount'
        additionalDiscount:
          $ref: '#/components/schemas/Basket.HubQuoteDiscount'
        guaranteeRedemptionQuantity:
          format: int32
          type: integer
        canUseRedemption:
          type: boolean
        isLoyalty:
          type: boolean
    Basket.HubQuotePaymentMode:
      required:
        - type
        - depositRedemptionQuantity
        - cancellationInsuranceAllowed
        - isFullOnlinePayment
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/Basket.HubPaymentType'
        paymentFeatureId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        title:
          type: string
        description:
          type: string
        depositAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        depositRedemptionQuantity:
          format: int32
          type: integer
        cancellationInsuranceAllowed:
          type: boolean
        supportedCardTypes:
          type: array
          items:
            $ref: '#/components/schemas/Common.SupportedCardType'
        supportedPaymentMethods:
          type: array
          items:
            $ref: '#/components/schemas/Common.SupportedPaymentMethod'
        isFullOnlinePayment:
          type: boolean
        bookingOption:
          $ref: '#/components/schemas/Basket.HubQuotePaymentModeBookingOption'
        scheduledPayment:
          $ref: '#/components/schemas/Basket.HubQuoteScheduledPayment'
    Basket.HubQuoteInsurance:
      type: object
      properties:
        name:
          type: string
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        insuredAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        termsUrl:
          type: string
        ipidUrl:
          type: string
        logoUrl:
          type: string
        depositText:
          type: string
    Basket.HubPaymentType:
      description: >-
        Payment method proposed to the end user for a booking.


        - **DefaultDeposit** — Standard deposit captured at booking; the balance
        is settled later (typically on site).

        - **FullOnlinePayment** — Full booking amount is captured online at
        booking time.

        - **CallOption** — Place an option according to the CRS configured
        amount of time with a configured price penalty if the booking is not
        completed on time.

        - **WireTransfer** — Payment is settled by bank wire transfer outside
        the online booking flow.

        - **PaymentHubRedirection** — Payment is delegated to an external
        payment hub via browser redirection.
      enum:
        - DefaultDeposit
        - FullOnlinePayment
        - CallOption
        - WireTransfer
        - PaymentHubRedirection
      type: string
    Basket.HubQuoteWarnings:
      type: object
      properties:
        rooms:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubRoomPriceWarning'
        hotelExtras:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubExtraPriceWarning'
        guests:
          $ref: '#/components/schemas/Basket.HubGuestWarning'
    Basket.HubMarketing:
      required:
        - isOptinHotelAvailable
        - isOptinPartnersAvailable
      type: object
      properties:
        isOptinHotelAvailable:
          type: boolean
        isOptinPartnersAvailable:
          type: boolean
    Basket.HubCustomField:
      required:
        - isVisible
        - isMandatory
      type: object
      properties:
        isVisible:
          type: boolean
        isMandatory:
          type: boolean
        translationTag:
          type: string
        name:
          type: string
    Common.HubValueText_Basket.HubGuestTitle_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: '#/components/schemas/Basket.HubGuestTitle'
    BookingEngine.Hub.Service.Controllers.ErrorResponse:
      type: object
      properties:
        message:
          type: string
    BookingEngine.Hub.Service.Config.SecurityErrorType:
      description: >-
        Category of security failure returned when authentication or
        authorization is rejected.
      enum:
        - InvalidUserAuthentication
        - InvalidUserRoles
        - InvalidPermissions
      type: string
    HotelBusiness.RoomId:
      format: int32
      type: integer
    Basket.HubQuoteRoomOccupancy:
      required:
        - occupancyId
        - quantity
        - isLoyalty
        - canUseRedemption
        - redemptionQuantity
      type: object
      properties:
        occupancyId:
          $ref: '#/components/schemas/HotelBusiness.OccupancyId'
        quantity:
          format: int32
          type: integer
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        isLoyalty:
          type: boolean
        canUseRedemption:
          type: boolean
        redemptionQuantity:
          format: int32
          type: integer
    Common.HubGuestPosition:
      format: int32
      type: integer
    HotelBusiness.ExtraId:
      format: int32
      type: integer
    Common.ConvertedMoney:
      required:
        - converted
        - original
      type: object
      properties:
        converted:
          default:
            value:
              amount: 0
          allOf:
            - $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
        original:
          default:
            value:
              amount: 0
          allOf:
            - $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
    Basket.HubQuoteTax:
      type: object
      properties:
        totalAmount:
          $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
        computations:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubQuoteTaxComputation'
    Common.HubValueText_Common.HubCancelConditionTermsFormat_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: '#/components/schemas/Common.HubCancelConditionTermsFormat'
    Common.HubValueText:
      type: object
      properties:
        text:
          type: string
    Basket.HubQuoteDiscount:
      required:
        - calculationMode
        - isPublic
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        calculationMode:
          $ref: '#/components/schemas/Common.HubDiscountCalculationMode'
        discountAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        isPublic:
          type: boolean
    Common.SupportedCardType:
      description: Credit or debit card brand accepted by the hotel.
      enum:
        - Visa
        - MasterCard
        - AmericanExpress
        - DinersClub
        - Jcb
        - UnionPay
        - Tunion
        - Discover
        - RuPay
        - InterPayment
        - Maestro
        - Dankort
        - Mir
        - Uatp
        - Undefined
      type: string
    Common.SupportedPaymentMethod:
      description: Alternative online payment method accepted alongside credit cards.
      enum:
        - Paypal
        - IDeal
      type: string
    Basket.HubQuotePaymentModeBookingOption:
      required:
        - timeValidity
      type: object
      properties:
        timeValidity:
          format: time
          type: string
        amount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Basket.HubQuoteScheduledPayment:
      type: object
      properties:
        description:
          type: string
    Basket.HubRoomPriceWarning:
      required:
        - roomId
        - guestPosition
      type: object
      properties:
        roomId:
          $ref: '#/components/schemas/HotelBusiness.RoomId'
        occupancies:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubOccupancyPriceWarning'
        extras:
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubExtraPriceWarning'
        guestPosition:
          $ref: '#/components/schemas/Common.HubGuestPosition'
    Basket.HubExtraPriceWarning:
      required:
        - extraId
      type: object
      properties:
        extraId:
          $ref: '#/components/schemas/HotelBusiness.ExtraId'
        originalPrice:
          $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
        updatedPrice:
          $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
    Basket.HubGuestWarning:
      type: object
      properties:
        originalGuests:
          $ref: '#/components/schemas/Session.HubBookingGuests'
        updatedGuests:
          $ref: '#/components/schemas/Session.HubBookingGuests'
    Basket.HubGuestTitle:
      description: Salutation used to address the guest.
      enum:
        - None
        - Mr
        - Mrs
        - Miss
      type: string
    HotelBusiness.OccupancyId:
      format: int32
      type: integer
    Common.HubValueText_Library.Money_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              $ref: '#/components/schemas/Library.Money'
    Basket.HubQuoteTaxComputation:
      required:
        - isIncluded
        - paymentTime
        - type
        - isSummaryHidden
      type: object
      properties:
        name:
          type: string
        summary:
          type: string
        isIncluded:
          type: boolean
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        paymentTime:
          $ref: '#/components/schemas/Basket.HubPaymentTime'
        type:
          $ref: '#/components/schemas/Common.HubTaxType'
        isSummaryHidden:
          type: boolean
    Common.HubCancelConditionTermsFormat:
      description: Format used to render cancellation condition terms shown to end users.
      enum:
        - Default
        - Short
      type: string
    Common.HubDiscountCalculationMode:
      description: >-
        How a discount amount is computed against the base price.


        - **None** — No discount computation applies.

        - **PercentageWithoutExtras** — Percentage discount applied to the rate
        excluding extras.

        - **Percentage** — Percentage discount applied to the whole basket
        including extras.

        - **Nominal** — Flat monetary amount subtracted from the price.
      enum:
        - None
        - PercentageWithoutExtras
        - Percentage
        - Nominal
      type: string
    Basket.HubOccupancyPriceWarning:
      required:
        - occupancyId
      type: object
      properties:
        occupancyId:
          $ref: '#/components/schemas/HotelBusiness.OccupancyId'
        originalPrice:
          $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
        updatedPrice:
          $ref: '#/components/schemas/Common.HubValueText_Library.Money_'
    Session.HubBookingGuests:
      description: Describes the details of the guests count.
      required:
        - adults
        - children
        - infants
        - position
        - memberLevel
      type: object
      properties:
        adults:
          format: int32
          type: integer
        children:
          format: int32
          type: integer
        infants:
          format: int32
          type: integer
        childrenAges:
          type: array
          items:
            format: int32
            type: integer
        position:
          $ref: '#/components/schemas/Common.HubGuestPosition'
        memberLevel:
          format: int32
          type: integer
    Library.Money:
      required:
        - amount
        - currency
      type: object
      properties:
        amount:
          format: decimal
          type: number
        currency:
          type: string
    Basket.HubPaymentTime:
      description: >-
        When the booking amount is captured from the end user.


        - **AtBooking** — Payment is captured immediately when the booking is
        confirmed.

        - **OnSite** — Payment is captured at the hotel during or after the
        stay.
      enum:
        - AtBooking
        - OnSite
      type: string
    Common.HubTaxType:
      description: >-
        Category of tax or fee applied to a booking. Values map 1:1 to the
        underlying CRS tax classification.


        - **RateTax** — Tax computed on the room rate amount.

        - **ExtraTax** — Tax computed on a booking extra.

        - **OtherTax** — Fallback bucket for taxes that do not map to a more
        specific type.

        - **TouristTax** — Tourist tax collected on behalf of a tourism
        authority.

        - **CityTax** — Tax levied by the city hosting the hotel.

        - **StateTax** — Tax levied at the state or regional level.

        - **StayTax** — Tax computed on the stay (typically per person per
        night).

        - **VAT** — Value-added tax.

        - **LocalTax** — Locally-defined tax collected by the hotel.

        - **GeneralServiceTax** — General service tax as defined by local tax
        regulation.

        - **GovernmentTax** — Tax levied by the national or federal government.

        - **ServiceCharge** — Service charge added by the hotel (distinct from a
        general service tax).

        - **AccommodationTax** — Tax computed on the accommodation portion of
        the booking.

        - **ConsumptionTax** — Consumption tax as defined by local tax
        regulation.

        - **Custom** — Custom tax freely defined by the hotel.

        - **ResortFee** — Mandatory resort fee (common in US properties).

        - **ServiceFee** — Fixed service fee applied to the booking.

        - **CleaningFee** — Housekeeping or cleaning fee.

        - **CustomFee** — Custom fee freely defined by the hotel.
      enum:
        - RateTax
        - ExtraTax
        - OtherTax
        - TouristTax
        - CityTax
        - StateTax
        - StayTax
        - VAT
        - LocalTax
        - GeneralServiceTax
        - GovernmentTax
        - ServiceCharge
        - AccommodationTax
        - ConsumptionTax
        - Custom
        - ResortFee
        - ServiceFee
        - CleaningFee
        - CustomFee
      type: string

````

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