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

# Validate room charge

> Validates a hotel reservation for room-charge or member-number payment and returns the reservation details to pass into the booking call.



## OpenAPI

````yaml post /v1/brands/{brandId}/room-charge/{integrationType}/validate
openapi: 3.0.0
info:
  title: Way Partner API
  description: >-
    REST API for Way partners: list experiences, check availability, run
    checkout, and manage bookings.
  version: '1.0'
servers:
  - url: https://api.letsway.com
    description: Production.
  - url: https://api.staging.letsway.com
    description: Staging.
security: []
tags:
  - name: Listings
    description: 'Retrieve the listings a brand offers: experiences, events, and resources.'
  - name: Availability
    description: Dates, sessions, and price tiers for scheduling a booking.
  - name: Carts & Checkout
    description: >-
      Payment intents and booking creation. The cart ID is a client-generated
      UUID; there is no create-cart endpoint.
  - name: Bookings
    description: Retrieve, cancel, and reschedule bookings.
  - name: Experiences
    description: Experience details, settings, custom questions, reviews, and hosts.
  - name: Brand Configuration
    description: Brand settings, taxonomy, terms, and promotion code validation.
  - name: Waitlists
    description: Waitlists for sold-out sessions and invitation handling.
  - name: Integrations
    description: Configured integrations, analytics, and room-charge validation.
  - name: Organizations
    description: Organization-level access across brands.
paths:
  /v1/brands/{brandId}/room-charge/{integrationType}/validate:
    post:
      tags:
        - Integrations
      summary: Validate room charge
      description: >-
        Validates a hotel reservation for room-charge or member-number payment
        and returns the reservation details to pass into the booking call.
      operationId: IntegrationPublicController_validate
      parameters:
        - $ref: '#/components/parameters/brandIdPath_72'
        - $ref: '#/components/parameters/integrationTypePath'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoomChargeValidation'
      responses:
        '200':
          description: Validate room charge.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormattedReservationDto'
      security:
        - Brand-API-Key: []
        - Organization-API-Key: []
components:
  parameters:
    brandIdPath_72:
      name: brandId
      in: path
      schema:
        type: string
      required: true
      description: >-
        The brand's ID - must match the brand your API key identifies (or the
        Way-Brand-Id header when one is sent).
    integrationTypePath:
      name: integrationType
      in: path
      schema:
        type: string
      required: true
      description: The PMS integration to validate against, e.g. `opera` or `micros`.
      example: opera
  schemas:
    RoomChargeValidation:
      type: object
      properties: {}
    FormattedReservationDto:
      type: object
      properties:
        reservationId:
          type: string
          description: Reservation ID.
          example: res-123
        confirmationId:
          type: string
          description: Confirmation ID (if applicable)
          example: CONFIRM-456
          nullable: true
        arrivalDate:
          type: string
          description: Arrival date (formatted as YYYY-MM-DD)
          example: '2024-03-10'
        departureDate:
          type: string
          description: Departure date (formatted as YYYY-MM-DD)
          example: '2024-03-15'
        status:
          type: string
          description: Reservation status.
          example: CONFIRMED
        guests:
          description: Guests associated with the reservation.
          nullable: true
          type: array
          items:
            $ref: '#/components/schemas/GuestDto'
        comments:
          description: Comments related to the reservation.
          nullable: true
          type: array
          items:
            $ref: '#/components/schemas/CommentDto'
        fixedCharges:
          description: Fixed charges associated with the reservation.
          nullable: true
          type: array
          items:
            $ref: '#/components/schemas/ReservationFixedChargeDto'
        postings:
          description: Postings associated with the reservation.
          nullable: true
          type: array
          items:
            $ref: '#/components/schemas/PostingDto'
        arrivalTime:
          type: string
          description: Arrival time (Stayntouch specific)
          example: '14:00'
          nullable: true
        departureTime:
          type: string
          description: Departure time (Stayntouch specific)
          example: '11:00'
          nullable: true
      required:
        - reservationId
        - arrivalDate
        - departureDate
        - status
    GuestDto:
      type: object
      properties:
        firstName:
          type: string
          description: Guest's first name.
          example: John
          nullable: true
        lastName:
          type: string
          description: Guest's last name.
          example: Doe
      required:
        - lastName
    CommentDto:
      type: object
      properties:
        id:
          type: string
          description: Comment ID.
          example: comment-001
        type:
          type: string
          description: Comment type.
          example: General
        title:
          type: string
          description: Comment title.
          example: Request
        comment:
          description: Comment details.
          allOf:
            - $ref: '#/components/schemas/CommentTextDto'
      required:
        - id
        - type
        - title
        - comment
    ReservationFixedChargeDto:
      type: object
      properties:
        description:
          type: string
          description: Charge description.
          example: Late checkout fee
        amount:
          type: number
          description: Charge amount.
          example: 50
      required:
        - description
        - amount
    PostingDto:
      type: object
      properties:
        transactionNo:
          type: number
          description: Transaction number.
          example: 12345
      required:
        - transactionNo
    CommentTextDto:
      type: object
      properties:
        value:
          type: string
          description: Comment text.
          example: 'Special request: late check-out'
      required:
        - value
  securitySchemes:
    Brand-API-Key:
      type: http
      scheme: bearer
      description: >-
        Your brand's secret API key, e.g. `Bearer
        way_sk_live_bhEqcn0i1fRoUEHBPjJkQA`. Older `Way-Brand-Id` +
        `Way-Secret-Key` credentials still work: see [Legacy
        authentication](/legacy-authentication).
    Organization-API-Key:
      type: http
      scheme: bearer
      description: >-
        Your organization's secret API key, e.g. `Bearer
        way_sk_live_ohEqcn0i1fRoUEHBPjJkQA`. Older `Way-Organization-Id` +
        `Way-Secret-Key` credentials still work: see [Legacy
        authentication](/legacy-authentication).

````