> ## 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 the confirmation of a booking

> Full confirmation details of a completed booking, from stay to payment



## OpenAPI

````yaml booking-engine-api/open-api/booking-engine-api.json GET /v2/booking/{sessionId}/confirmation
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/booking/{sessionId}/confirmation:
    get:
      tags:
        - Booking
      summary: "get the confirmation of a booking.\r\nonly used by direct clients"
      description: "Returns the full confirmation details of a completed booking including\r\nstay information, customer details, room descriptions, and payment summary."
      operationId: Booking_GetConfirmation
      parameters:
        - name: X-AVP-PictureTemplates
          in: header
          required: false
          schema:
            type: string
        - name: X-AVP-Impersonation
          in: header
          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/Confirmation.HubConfirmationPresenter'
            text/json:
              schema:
                $ref: '#/components/schemas/Confirmation.HubConfirmationPresenter'
        '400':
          description: The session is invalid or does not exist
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BookingEngine.Hub.Service.Examples.Session.InvalidSessionErrorResponse
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/BookingEngine.Hub.Service.Examples.Session.InvalidSessionErrorResponse
        '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:
    Confirmation.HubConfirmationPresenter:
      required:
        - internetIncluded
        - breakfastIncluded
      type: object
      properties:
        rooms:
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationRoom'
        hotelExtras:
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationExtra'
        taxes:
          $ref: '#/components/schemas/Confirmation.HubConfirmationTaxes'
        cancelConditions:
          $ref: '#/components/schemas/Confirmation.HubConfirmationCancelCondition'
        bookingInformation:
          $ref: '#/components/schemas/Confirmation.HubBookingConfirmationInformation'
        insurance:
          $ref: '#/components/schemas/Confirmation.HubConfirmationInsurance'
        discount:
          $ref: '#/components/schemas/Confirmation.HubConfirmationDiscount'
        prices:
          $ref: '#/components/schemas/Confirmation.HubConfirmationPrices'
        internetIncluded:
          $ref: '#/components/schemas/Search.HubServiceStatus'
        breakfastIncluded:
          $ref: '#/components/schemas/Search.HubServiceStatus'
    BookingEngine.Hub.Service.Examples.Session.InvalidSessionErrorResponse:
      required:
        - code
      type: object
      properties:
        code:
          default: InvalidSessionId
          type: string
        message:
          type: string
    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
    Confirmation.HubConfirmationRoom:
      required:
        - roomId
        - occupancyId
      type: object
      properties:
        roomId:
          $ref: '#/components/schemas/HotelBusiness.RoomId'
        name:
          type: string
        rate:
          $ref: '#/components/schemas/Confirmation.HubConfirmationRate'
        occupancyId:
          $ref: '#/components/schemas/HotelBusiness.OccupancyId'
        occupancies:
          $ref: '#/components/schemas/Description.Common.HubOccupancyDefinition'
        extras:
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationExtra'
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/Common.HubPicture'
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Confirmation.HubConfirmationExtra:
      required:
        - extraId
        - quantity
      type: object
      properties:
        extraId:
          $ref: '#/components/schemas/HotelBusiness.ExtraId'
        name:
          type: string
        quantity:
          format: int32
          type: integer
        offerId:
          type: string
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        gratuitousnessType:
          $ref: >-
            #/components/schemas/Common.HubValueText_Description.Extra.HubExtraGratuitousnessType_
    Confirmation.HubConfirmationTaxes:
      required:
        - includedDetails
        - excludedDetails
        - onSiteDetails
      type: object
      properties:
        included:
          description: The included taxes total amount.
          allOf:
            - $ref: '#/components/schemas/Common.ConvertedMoney'
        excluded:
          description: The at-booking excluded taxes total amount.
          allOf:
            - $ref: '#/components/schemas/Common.ConvertedMoney'
        onSite:
          description: The on-site excluded taxes total amount.
          allOf:
            - $ref: '#/components/schemas/Common.ConvertedMoney'
        includedDetails:
          description: The included taxes details.
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationTaxDetail'
        excludedDetails:
          description: The at-booking excluded taxes details.
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationTaxDetail'
        onSiteDetails:
          description: The on-site excluded taxes details.
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Confirmation.HubConfirmationTaxDetail'
    Confirmation.HubConfirmationCancelCondition:
      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_
        modifyUrl:
          type: string
    Confirmation.HubBookingConfirmationInformation:
      type: object
      properties:
        customer:
          $ref: '#/components/schemas/Confirmation.HubCustomerInformation'
        hotel:
          $ref: '#/components/schemas/Confirmation.HubHotelInformation'
        stay:
          $ref: '#/components/schemas/Confirmation.HubStayInformation'
        guests:
          $ref: '#/components/schemas/Confirmation.HubGuestsInformation'
    Confirmation.HubConfirmationInsurance:
      required:
        - lastUpdate
      type: object
      properties:
        name:
          type: string
        lastUpdate:
          format: date-time
          type: string
        contractNumber:
          type: string
        contactUrl:
          type: string
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Confirmation.HubConfirmationDiscount:
      type: object
      properties:
        name:
          type: string
        price:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Confirmation.HubConfirmationPrices:
      type: object
      properties:
        totalPrice:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        bookingFees:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        balanceAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
        depositAmount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Search.HubServiceStatus:
      description: >-
        Availability of a service (rate qualifier, amenity, etc.) in a search
        result.


        - **None** — Status is not declared.

        - **Included** — Service is included in the rate at no extra charge.

        - **WithCharge** — Service is available but comes with an additional
        charge.

        - **NotAvailable** — Service is not available.
      enum:
        - None
        - Included
        - WithCharge
        - NotAvailable
      type: string
    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
    Confirmation.HubConfirmationRate:
      type: object
      properties:
        name:
          type: string
        rateId:
          $ref: '#/components/schemas/HotelBusiness.RateId'
        rateQualifier:
          $ref: >-
            #/components/schemas/Common.HubValueText_Description.Rate.HubRateQualifier_
    HotelBusiness.OccupancyId:
      format: int32
      type: integer
    Description.Common.HubOccupancyDefinition:
      required:
        - isDetailed
        - personCount
        - adultCount
        - childCount
        - infantCount
      type: object
      properties:
        isDetailed:
          type: boolean
        personCount:
          format: int32
          type: integer
        adultCount:
          format: int32
          type: integer
        childCount:
          format: int32
          type: integer
        infantCount:
          format: int32
          type: integer
        childrenAges:
          type: array
          items:
            format: int32
            type: integer
    Common.HubPicture:
      required:
        - templates
        - sortOrder
      type: object
      properties:
        templates:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/Common.HubPictureTemplate'
        sortOrder:
          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_'
    HotelBusiness.ExtraId:
      format: int32
      type: integer
    Common.HubValueText_Description.Extra.HubExtraGratuitousnessType_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: >-
                #/components/schemas/Description.Extra.HubExtraGratuitousnessType
    Confirmation.HubConfirmationTaxDetail:
      required:
        - type
      type: object
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/Common.HubTaxType'
        amount:
          $ref: '#/components/schemas/Common.ConvertedMoney'
    Common.HubValueText_Common.HubCancelConditionTermsFormat_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: '#/components/schemas/Common.HubCancelConditionTermsFormat'
    Confirmation.HubCustomerInformation:
      required:
        - bookingDate
      type: object
      properties:
        email:
          type: string
        fullName:
          type: string
        bookingDate:
          format: date-time
          type: string
    Confirmation.HubHotelInformation:
      type: object
      properties:
        bookingEngineUrl:
          type: string
        websiteUrl:
          type: string
    Confirmation.HubStayInformation:
      required:
        - arrival
        - departure
      type: object
      properties:
        arrival:
          format: date-time
          type: string
        departure:
          format: date-time
          type: string
    Confirmation.HubGuestsInformation:
      required:
        - adultCount
        - childCount
        - infantCount
      type: object
      properties:
        adultCount:
          format: int32
          type: integer
        childCount:
          format: int32
          type: integer
        infantCount:
          format: int32
          type: integer
    HotelBusiness.RateId:
      format: int32
      type: integer
    Common.HubValueText_Description.Rate.HubRateQualifier_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - required:
            - value
          type: object
          properties:
            value:
              $ref: '#/components/schemas/Description.Rate.HubRateQualifier'
    Common.HubPictureTemplate:
      type: object
      properties:
        name:
          type: string
        url:
          type: string
    Common.HubValueText_Library.Money_:
      allOf:
        - $ref: '#/components/schemas/Common.HubValueText'
        - type: object
          properties:
            value:
              $ref: '#/components/schemas/Library.Money'
    Common.HubValueText:
      type: object
      properties:
        text:
          type: string
    Description.Extra.HubExtraGratuitousnessType:
      description: |-
        Whether an extra is charged, included in the rate, or offered for free.

        - **None** — Extra is charged normally.
        - **Included** — Extra is included in the rate at no additional cost.
        - **Free** — Extra is available free of charge.
        - **Offered** — Extra is offered as a gift by the hotel.
      enum:
        - None
        - Included
        - Free
        - Offered
      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
    Common.HubCancelConditionTermsFormat:
      description: Format used to render cancellation condition terms shown to end users.
      enum:
        - Default
        - Short
      type: string
    Description.Rate.HubRateQualifier:
      description: >-
        Meal-plan and package qualifier attached to a rate.


        - **RoomOnly** — Room only, no meals or services included.

        - **BreakfastIncluded** — Breakfast included.

        - **HalfBoard** — Half board included (breakfast plus one other main
        meal).

        - **FullBoard** — Full board included (breakfast, lunch and dinner).

        - **AllInclusive** — All-inclusive: meals and most beverages included.

        - **SelfCatering** — Self-catering accommodation with cooking
        facilities.

        - **Package** — Non-refundable package rate.

        - **BreakfastIncludedPackage** — Package rate with breakfast included.

        - **HalfBoardPackage** — Package rate with half board included.

        - **FullBoardPackage** — Package rate with full board included.

        - **AllInclusivePackage** — All-inclusive package rate.

        - **SelfCateringPackage** — Self-catering package rate.
      enum:
        - RoomOnly
        - BreakfastIncluded
        - HalfBoard
        - FullBoard
        - AllInclusive
        - SelfCatering
        - Package
        - BreakfastIncludedPackage
        - HalfBoardPackage
        - FullBoardPackage
        - AllInclusivePackage
        - SelfCateringPackage
      type: string
    Library.Money:
      required:
        - amount
        - currency
      type: object
      properties:
        amount:
          format: decimal
          type: number
        currency:
          type: string

````

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