> ## 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 sales terms

> Get sales terms



## OpenAPI

````yaml booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/terms
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}/terms:
    get:
      tags:
        - Basket
      summary: Get sales terms
      description: >-
        These terms could be overrided at booking engine level if the property
        CustomSalesTermsConditionsUrl is filled in the booking engine
        configuration
      operationId: Basket_GetTerms
      parameters:
        - name: X-AVP-DescriptionType
          in: header
          description: ''
          required: false
          schema:
            type: string
        - name: X-AVP-Impersonation
          in: header
          description: ''
          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.HubTerms'
              examples:
                response:
                  value:
                    terms:
                      cancellationPolicy: >-
                        Si annulée 1 jour avant l'arrivée, 10% de la réservation
                        sont facturés et non remboursables. Si annulé le jour
                        d'arrivée ou en cas de non présentation, la première
                        nuit sans les extras est facturée et non remboursable.
                      cancellationDescription: Mes customs cancel conditions
                      taxes:
                        onSite:
                          - name: Taxe de séjour
                            type: StayTax
                            definition: 2,00 € par personne par nuit
                        included: []
                        excluded: []
                      checkInTime:
                        text: '12:00'
                        value: '12:00:00'
                      checkOutTime:
                        text: '14:00'
                        value: '14:00:00'
                      openingHours:
                        text: Réception 24h/24
                        value:
                          openingTime: '00:00:00'
                      deposit:
                        text: >-
                          La première nuit sans les extras est débitée à la
                          réservation.
                        value: FirstNightWithoutExtras
                      depositCurrency:
                        text: Le débit de votre compte s'effectuera en EUR
                        value: EUR
                      acceptedCards:
                        - MasterCard
                        - Visa
                      allowGuestModification: true
                      allowStayModification: true
            text/json:
              schema:
                $ref: '#/components/schemas/Basket.HubTerms'
              examples:
                response:
                  value:
                    terms:
                      cancellationPolicy: >-
                        Si annulée 1 jour avant l'arrivée, 10% de la réservation
                        sont facturés et non remboursables. Si annulé le jour
                        d'arrivée ou en cas de non présentation, la première
                        nuit sans les extras est facturée et non remboursable.
                      cancellationDescription: Mes customs cancel conditions
                      taxes:
                        onSite:
                          - name: Taxe de séjour
                            type: StayTax
                            definition: 2,00 € par personne par nuit
                        included: []
                        excluded: []
                      checkInTime:
                        text: '12:00'
                        value: '12:00:00'
                      checkOutTime:
                        text: '14:00'
                        value: '14:00:00'
                      openingHours:
                        text: Réception 24h/24
                        value:
                          openingTime: '00:00:00'
                      deposit:
                        text: >-
                          La première nuit sans les extras est débitée à la
                          réservation.
                        value: FirstNightWithoutExtras
                      depositCurrency:
                        text: Le débit de votre compte s'effectuera en EUR
                        value: EUR
                      acceptedCards:
                        - MasterCard
                        - Visa
                      allowGuestModification: true
                      allowStayModification: 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.HubTerms:
      type: object
      properties:
        customTermsUrl:
          type: string
        terms:
          $ref: '#/components/schemas/Basket.HubSalesTerms'
    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.HubSalesTerms:
      required:
        - checkInTime
        - checkOutTime
        - openingHours
        - deposit
        - depositCurrency
        - acceptedCards
        - allowGuestModification
        - allowStayModification
      type: object
      properties:
        cancellationPolicy:
          type: string
        cancellationDescription:
          type: string
        taxes:
          $ref: '#/components/schemas/Basket.HubTermsTaxes'
        checkInTime:
          default: {}
          allOf:
            - $ref: >-
                #/components/schemas/Common.HubValueText_System.Nullable_System.TimeSpan_
        checkOutTime:
          default: {}
          allOf:
            - $ref: >-
                #/components/schemas/Common.HubValueText_System.Nullable_System.TimeSpan_
        openingHours:
          default: {}
          allOf:
            - $ref: >-
                #/components/schemas/Common.HubValueText_Description.Hotel.HubHotelOpeningHours_
        deposit:
          default:
            value: Nothing
          allOf:
            - $ref: >-
                #/components/schemas/Common.HubValueText_Description.Rate.HubRateSellingConditionsDepositType_
        depositCurrency:
          default: {}
          allOf:
            - $ref: '#/components/schemas/Common.HubValueText_System.String_'
        acceptedCards:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/HotelBusiness.Cards.CardType'
        allowGuestModification:
          type: boolean
        allowStayModification:
          type: boolean
    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
    Basket.HubTermsTaxes:
      required:
        - onSite
        - included
        - excluded
      type: object
      properties:
        onSite:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubTermsTaxDefinition'
        included:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubTermsTaxDefinition'
        excluded:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Basket.HubTermsTaxDefinition'
    Common.HubValueText_System.Nullable_System.TimeSpan_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              format: time
              type: string
    Common.HubValueText_Description.Hotel.HubHotelOpeningHours_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              $ref: '#/components/schemas/Description.Hotel.HubHotelOpeningHours'
    Common.HubValueText_Description.Rate.HubRateSellingConditionsDepositType_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: >-
                #/components/schemas/Description.Rate.HubRateSellingConditionsDepositType
    Common.HubValueText_System.String_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              type: string
    HotelBusiness.Cards.CardType:
      enum:
        - Visa
        - MasterCard
        - AmericanExpress
        - DinersClub
        - Jcb
        - Undefined
      type: string
    Basket.HubTermsTaxDefinition:
      required:
        - type
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/Common.HubTaxType'
        definition:
          type: string
    Common.HubValueText:
      type: object
      properties:
        text:
          type: string
    Description.Hotel.HubHotelOpeningHours:
      type: object
      properties:
        openingTime:
          format: time
          type: string
        closureTime:
          format: time
          type: string
    Description.Rate.HubRateSellingConditionsDepositType:
      description: >-
        How the deposit required to guarantee a booking is defined.


        - **Nothing** — No deposit required.

        - **CreditCardNumber** — Credit card number is collected but no funds
        are captured up-front.

        - **FirstNightWithoutExtras** — Amount of the first night excluding
        extras is captured as deposit.

        - **PercentageWithoutExtras** — A percentage of the room rate (excluding
        extras) is captured as deposit.

        - **PercentageWithExtras** — A percentage of the full booking (including
        extras) is captured as deposit.
      enum:
        - Nothing
        - CreditCardNumber
        - FirstNightWithoutExtras
        - PercentageWithoutExtras
        - PercentageWithExtras
      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.