Mews Hotels API

The Hotels API from Mews — 3 operation(s) for hotels.

Operations 3

POST /api/distributor/v1/hotels/getAvailability Mews Get Availability #
POST /api/distributor/v1/hotels/get Mews Get #
POST /api/distributor/v1/hotels/getPaymentConfiguration Mews Get Payment Configuration #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mews-systems-hotels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mews-systems-hotels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mews Booking Engine API (Distributor) Account notes Hotels API
  version: v1
  description: The Mews Booking Engine API (historically the Distributor API, served from /api/distributor/v1) lets developers build guest-facing booking engines that create reservations directly in Mews. It exposes enterprise configuration, availability, pricing, products, vouchers, payment cards, and reservation group creation for front-end client consumption.
  x-generated-from: documentation
  x-source-url: https://api.mews.com/Swagger/distributor/swagger.json
  x-last-validated: '2026-06-02'
servers:
- url: https://api.mews.com
  description: Production
- url: https://api.mews-demo.com
  description: Demo / sandbox
security:
- MewsClientToken: []
  MewsAccessToken: []
tags:
- name: Hotels
paths:
  /api/distributor/v1/hotels/getAvailability:
    post:
      tags:
      - Hotels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityParameters'
            examples:
              HotelsGetAvailabilityRequestExample:
                summary: Default hotels_getAvailability request
                x-microcks-default: true
                value:
                  Client: string
                  LanguageCode: string
                  CultureCode: string
                  FullAmounts: true
                  Session: string
                  HotelId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                  ConfigurationId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                  AvailabilityBlockId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                  CurrencyCode: EUR
                  CurrencyCodes:
                  - EUR
                  StartUtc: '2026-06-02T14:30:00Z'
                  EndUtc: '2026-06-02T14:30:00Z'
                  AdultCount: 1
                  ChildCount: 1
                  OccupancyData:
                  - AgeCategoryId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    PersonCount: 1
                  VoucherCode: string
                  ProductIds:
                  - 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                  CategoryIds:
                  - 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                  RateIds:
                  - 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Availability'
              examples:
                HotelsGetAvailability200Example:
                  summary: Default hotels_getAvailability 200 response
                  x-microcks-default: true
                  value:
                    RateGroups:
                    - Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Ordering: 1
                      SettlementType: {}
                      SettlementAction: {}
                      SettlementTrigger: {}
                      SettlementOffset: string
                      SettlementValue: 100.0
                      SettlementFlatValue: 100.0
                      SettlementMaximumNights: 1
                      SettlementMaximumTimeUnits: 1
                      SettlementCurrencyCode: EUR
                    Rates:
                    - Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      RateGroupId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Ordering: 1
                      Name: {}
                      Description: {}
                      IsPrivate: true
                      CurrencyCode: EUR
                    RoomCategoryAvailabilities:
                    - RoomCategoryId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      AvailableRoomCount: 1
                      RoomOccupancyAvailabilities:
                      - {}
                    ViolatedRestrictions:
                    - Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      ServiceId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Conditions: string
                      Exceptions: string
                      ExternalIdentifier: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
      operationId: hotels_getAvailability
      summary: Mews Get Availability
      description: Get Availability via the Mews Booking Engine (Distributor) API hotels resource.
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/distributor/v1/hotels/get:
    post:
      tags:
      - Hotels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HotelParameters'
            examples:
              HotelsGetRequestExample:
                summary: Default hotels_get request
                x-microcks-default: true
                value:
                  Client: string
                  LanguageCode: string
                  CultureCode: string
                  FullAmounts: true
                  Session: string
                  HotelId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleHotelResult'
              examples:
                HotelsGet200Example:
                  summary: Default hotels_get 200 response
                  x-microcks-default: true
                  value:
                    Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    Name: {}
                    Description: {}
                    CityId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    ImageId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    IntroImageId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    DefaultLanguageCode: string
                    DefaultCurrencyCode: EUR
                    DefaultRateCurrencyCode: EUR
                    SupportedLanguageCodes:
                    - string
                    AcceptedCurrencyCodes:
                    - EUR
                    TaxEnvironmentCode: string
                    Pricing: Gross
                    RoomCategories:
                    - Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Name: {}
                      Description: {}
                      ImageIds:
                      - 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Ordering: 1
                      NormalBedCount: 1
                      ExtraBedCount: 1
                      SpaceType: {}
                    Products:
                    - Id: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      Name: {}
                      Description: {}
                      CategoryId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      ImageId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                      IncludedByDefault: true
                      AlwaysIncluded: true
                      Prices: string
                      Pricing: {}
                      Amounts: string
                      RelativePrice: 100.0
                      Charging: string
                      ChargingMode: {}
                      Posting: string
                      PostingMode: {}
                      Ordering: 1
                    PaymentGateway: string
                    TermsAndConditionsUrl: https://api.mews.com/api/connector/v1
                    IanaTimeZoneIdentifier: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
                    Email: partner@example.com
                    Telephone: string
                    AdditionalLegalStatements:
                    - {}
                    Address: string
                    Languages:
                    - Code: string
                      Name: Example Name
                      DefaultCulture: string
                    Currencies:
                    - Code: string
                      Symbol: string
                      ValueFormat: string
                      DecimalPlaces: 1
                      SymbolIsBehindValue: true
                    Countries:
                    - Code: string
                      SovereignCountryCode: string
                      Name: Example Name
                    ImageBaseUrl: https://api.mews.com/api/connector/v1
      operationId: hotels_get
      summary: Mews Get
      description: Get via the Mews Booking Engine (Distributor) API hotels resource.
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/distributor/v1/hotels/getPaymentConfiguration:
    post:
      tags:
      - Hotels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HotelParameters'
            examples:
              HotelsGetPaymentConfigurationRequestExample:
                summary: Default hotels_getPaymentConfiguration request
                x-microcks-default: true
                value:
                  Client: string
                  LanguageCode: string
                  CultureCode: string
                  FullAmounts: true
                  Session: string
                  HotelId: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentConfiguration'
              examples:
                HotelsGetPaymentConfiguration200Example:
                  summary: Default hotels_getPaymentConfiguration 200 response
                  x-microcks-default: true
                  value:
                    PaymentGateway: string
                    SurchargeConfiguration: string
      operationId: hotels_getPaymentConfiguration
      summary: Mews Get Payment Configuration
      description: Get Payment Configuration via the Mews Booking Engine (Distributor) API hotels resource.
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    ProductChargingMode:
      enum:
      - Once
      - PerTimeUnit
      - PerPersonPerTimeUnit
      - PerPerson
      type: string
    PaymentConfiguration:
      title: PaymentConfiguration
      required:
      - SurchargeConfiguration
      type: object
      properties:
        PaymentGateway:
          allOf:
          - $ref: '#/components/schemas/PaymentGateway'
          example: string
        SurchargeConfiguration:
          allOf:
          - $ref: '#/components/schemas/SurchargeConfiguration'
          example: string
      additionalProperties: false
      x-schema-id: PaymentConfiguration
    RestrictionType:
      enum:
      - ClosedToStay
      - ClosedToArrival
      - ClosedToDeparture
      type: string
    PaymentGatewayAccount:
      title: PaymentGatewayAccount
      required:
      - CurrencyCode
      type: object
      properties:
        CurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
      additionalProperties: false
      x-schema-id: PaymentGatewayAccount
    PricingMode:
      enum:
      - Gross
      - Net
      type: string
    Country:
      title: Country
      required:
      - Code
      - Name
      type: object
      properties:
        Code:
          maxLength: 2
          minLength: 1
          type: string
          example: string
        SovereignCountryCode:
          type:
          - string
          - 'null'
          example: string
        Name:
          minLength: 1
          type: string
          example: Example Name
      additionalProperties: false
      x-schema-id: Country
    PaymentCardStorageType:
      enum:
      - Adyen
      - Stripe
      - PciProxy
      type: string
    SettlementRuleTrigger:
      enum:
      - Confirmation
      - Start
      - End
      - StartDate
      - EndDate
      type: string
    Address:
      title: Address
      type: object
      properties:
        Line1:
          maxLength: 1023
          type:
          - string
          - 'null'
          example: string
        Line2:
          maxLength: 255
          type:
          - string
          - 'null'
          example: string
        City:
          maxLength: 255
          type:
          - string
          - 'null'
          example: string
        PostalCode:
          maxLength: 255
          type:
          - string
          - 'null'
          example: string
        CountryCode:
          maxLength: 8
          type:
          - string
          - 'null'
          example: string
        Latitude:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        Longitude:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
      additionalProperties: false
      x-schema-id: Address
    Category:
      title: Category
      required:
      - Description
      - ExtraBedCount
      - Id
      - Name
      - NormalBedCount
      - SpaceType
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Name:
          type: object
          additionalProperties:
            type: string
        Description:
          type: object
          additionalProperties:
            type: string
        ImageIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          deprecated: true
        Ordering:
          type:
          - integer
          - 'null'
          format: int32
          example: 1
        NormalBedCount:
          type: integer
          format: int32
          example: 1
        ExtraBedCount:
          type: integer
          format: int32
          example: 1
        SpaceType:
          $ref: '#/components/schemas/ResourceCategoryType'
      additionalProperties: false
      x-schema-id: Category
    SingleHotelResult:
      title: SingleHotelResult
      required:
      - AcceptedCurrencyCodes
      - Address
      - CityId
      - Countries
      - Currencies
      - DefaultCurrencyCode
      - DefaultLanguageCode
      - DefaultRateCurrencyCode
      - Description
      - Email
      - IanaTimeZoneIdentifier
      - Id
      - ImageBaseUrl
      - Languages
      - Name
      - Pricing
      - Products
      - RoomCategories
      - SupportedLanguageCodes
      - TaxEnvironmentCode
      - TermsAndConditionsUrl
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Name:
          type: object
          additionalProperties:
            type: string
        Description:
          type: object
          additionalProperties:
            type: string
        CityId:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        ImageId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        IntroImageId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        DefaultLanguageCode:
          minLength: 1
          type: string
          example: string
        DefaultCurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
        DefaultRateCurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
        SupportedLanguageCodes:
          type: array
          items:
            type: string
        AcceptedCurrencyCodes:
          type: array
          items:
            type: string
        TaxEnvironmentCode:
          minLength: 1
          type: string
          example: string
        Pricing:
          $ref: '#/components/schemas/PricingMode'
        RoomCategories:
          type: array
          items:
            $ref: '#/components/schemas/Category'
        Products:
          type: array
          items:
            $ref: '#/components/schemas/Product'
        PaymentGateway:
          allOf:
          - $ref: '#/components/schemas/PaymentGateway'
          example: string
        TermsAndConditionsUrl:
          minLength: 1
          type: string
          format: uri
          example: https://api.mews.com/api/connector/v1
        IanaTimeZoneIdentifier:
          minLength: 1
          type: string
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Email:
          minLength: 1
          type: string
          example: partner@example.com
        Telephone:
          type:
          - string
          - 'null'
          example: string
        AdditionalLegalStatements:
          type:
          - array
          - 'null'
          items:
            type: object
            additionalProperties:
              type: string
          deprecated: true
        Address:
          allOf:
          - $ref: '#/components/schemas/Address'
          example: string
        Languages:
          type: array
          items:
            $ref: '#/components/schemas/Language'
        Currencies:
          type: array
          items:
            $ref: '#/components/schemas/Currency'
        Countries:
          type: array
          items:
            $ref: '#/components/schemas/Country'
        ImageBaseUrl:
          minLength: 1
          type: string
          format: uri
          example: https://api.mews.com/api/connector/v1
      additionalProperties: false
      x-schema-id: SingleHotelResult
    Product:
      title: Product
      required:
      - AlwaysIncluded
      - Amounts
      - ChargingMode
      - Description
      - Id
      - IncludedByDefault
      - Name
      - Ordering
      - PostingMode
      - Prices
      - Pricing
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Name:
          type: object
          additionalProperties:
            type: string
        Description:
          type: object
          additionalProperties:
            type: string
        CategoryId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        ImageId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        IncludedByDefault:
          type: boolean
          example: true
        AlwaysIncluded:
          type: boolean
          example: true
        Prices:
          example: string
        Pricing:
          title: Pricing
          type: object
          properties:
            discriminator:
              type: string
            value:
              oneOf:
              - $ref: '#/components/schemas/RelativeProductPrice'
          x-coproduct: true
          x-schema-id: ProductPricingCoproductOfRelativeProductPrice
        Amounts:
          example: string
        RelativePrice:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        Charging:
          type:
          - string
          - 'null'
          deprecated: true
          example: string
        ChargingMode:
          $ref: '#/components/schemas/ProductChargingMode'
        Posting:
          type:
          - string
          - 'null'
          deprecated: true
          example: string
        PostingMode:
          $ref: '#/components/schemas/ProductPostingMode'
        Ordering:
          type: integer
          format: int32
          example: 1
      additionalProperties: false
      x-schema-id: Product
    CreditCardTypes:
      enum:
      - MasterCard
      - Visa
      - Amex
      - Discover
      - DinersClub
      - Jcb
      - Maestro
      - UnionPay
      - VPay
      - RuPay
      - Dankort
      - Mir
      - Verve
      - Troy
      - PostFinance
      - Giro
      - Bancomat
      - Bc
      - CarteBleue
      - Eftpos
      - Eps
      - Interac
      - Isracard
      - Meps
      - Nets
      - Bancontact
      type: string
    PaymentMethods:
      title: PaymentMethods
      required:
      - ApplePay
      - GooglePay
      - Ideal
      - PaymentCard
      type: object
      properties:
        PaymentCard:
          type: boolean
          example: true
        Ideal:
          type: boolean
          example: true
        ApplePay:
          type: boolean
          example: true
        GooglePay:
          type: boolean
          example: true
      additionalProperties: false
      x-schema-id: PaymentMethods
    Culture:
      title: Culture
      required:
      - CurrencyDecimalSeparator
      - CurrencyGroupSeparator
      type: object
      properties:
        CurrencyDecimalSeparator:
          minLength: 1
          type: string
          example: EUR
        CurrencyGroupSeparator:
          minLength: 1
          type: string
          example: EUR
      additionalProperties: false
      x-schema-id: Culture
    ResourcePrice:
      title: ResourcePrice
      required:
      - AverageAmountPerTimeUnit
      - AveragePerTimeUnit
      - Total
      - TotalAmount
      type: object
      properties:
        Total:
          example: string
        TotalAmount:
          example: string
        AveragePerNight:
          deprecated: true
          example: string
        AveragePerTimeUnit:
          example: string
        AverageAmountPerNight:
          deprecated: true
          example: string
        AverageAmountPerTimeUnit:
          example: string
      additionalProperties: false
      x-schema-id: ResourcePrice
    SurchargeConfiguration:
      title: SurchargeConfiguration
      required:
      - SurchargeFees
      type: object
      properties:
        SurchargeServiceId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        SurchargeFees:
          type: object
          additionalProperties:
            type: number
            format: double
      additionalProperties: false
      x-schema-id: SurchargeConfiguration
    Availability:
      title: Availability
      required:
      - RateGroups
      - Rates
      - RoomCategoryAvailabilities
      type: object
      properties:
        RateGroups:
          type: array
          items:
            $ref: '#/components/schemas/RateGroup'
        Rates:
          type: array
          items:
            $ref: '#/components/schemas/Rate'
        RoomCategoryAvailabilities:
          type: array
          items:
            $ref: '#/components/schemas/ResourceCategoryAvailability'
        ViolatedRestrictions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Restriction'
      additionalProperties: false
      x-schema-id: Availability
    AmountPart:
      enum:
      - NetValue
      - TaxValue
      - GrossValue
      type: string
    RateGroup:
      title: RateGroup
      required:
      - Id
      - Ordering
      - SettlementAction
      - SettlementCurrencyCode
      - SettlementOffset
      - SettlementTrigger
      - SettlementType
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Ordering:
          type: integer
          format: int32
          example: 1
        SettlementType:
          $ref: '#/components/schemas/SettlementRuleType'
        SettlementAction:
          $ref: '#/components/schemas/SettlementRuleAction'
        SettlementTrigger:
          $ref: '#/components/schemas/SettlementRuleTrigger'
        SettlementOffset:
          minLength: 1
          type: string
          example: string
        SettlementValue:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        SettlementFlatValue:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        SettlementMaximumNights:
          type:
          - integer
          - 'null'
          format: int32
          deprecated: true
          example: 1
        SettlementMaximumTimeUnits:
          type:
          - integer
          - 'null'
          format: int32
          example: 1
        SettlementCurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
      additionalProperties: false
      x-schema-id: RateGroup
    RestrictionConditions:
      title: RestrictionConditions
      required:
      - Days
      - Type
      type: object
      properties:
        Type:
          $ref: '#/components/schemas/RestrictionType'
        ExactRateId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        BaseRateId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        RateGroupId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        ResourceCategoryId:
          type:
          - string
          - 'null'
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        ResourceCategoryType:
          anyOf:
          - $ref: '#/components/schemas/ResourceCategoryType'
          example: string
        StartUtc:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-06-02T14:30:00Z'
        EndUtc:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-06-02T14:30:00Z'
        Days:
          type: array
          items:
            type: string
      additionalProperties: false
      x-schema-id: RestrictionConditions
    PaymentGateway:
      title: PaymentGateway
      required:
      - Accounts
      - DefaultCurrencyCode
      - IsMerchant
      - Model
      - PaymentCardStorageType
      - PublicKey
      - SupportedCreditCardTypes
      - SupportedPaymentMethods
      type: object
      properties:
        PaymentGatewayType:
          type:
          - string
          - 'null'
          deprecated: true
          example: string
        PaymentCardStorageType:
          $ref: '#/components/schemas/PaymentCardStorageType'
        IsMerchant:
          type: boolean
          example: true
        Model:
          $ref: '#/components/schemas/PaymentGatewayModel'
        SupportedCreditCardTypes:
          type: array
          items:
            $ref: '#/components/schemas/CreditCardTypes'
        SupportedPaymentMethods:
          allOf:
          - $ref: '#/components/schemas/PaymentMethods'
          example: string
        PublicKey:
          minLength: 1
          type: string
          example: string
        DefaultCurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
        Accounts:
          type: array
          items:
            $ref: '#/components/schemas/PaymentGatewayAccount'
      additionalProperties: false
      x-schema-id: PaymentGateway
    Restriction:
      title: Restriction
      required:
      - Conditions
      - Exceptions
      - Id
      - ServiceId
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        ServiceId:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Conditions:
          allOf:
          - $ref: '#/components/schemas/RestrictionConditions'
          example: string
        Exceptions:
          allOf:
          - $ref: '#/components/schemas/RestrictionExceptions'
          example: string
        ExternalIdentifier:
          type:
          - string
          - 'null'
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
      additionalProperties: false
      x-schema-id: Restriction
    RestrictionExceptions:
      title: RestrictionExceptions
      type: object
      properties:
        MinAdvance:
          type:
          - string
          - 'null'
          example: string
        MaxAdvance:
          type:
          - string
          - 'null'
          example: string
        MinLength:
          type:
          - string
          - 'null'
          example: string
        MaxLength:
          type:
          - string
          - 'null'
          example: string
        MinPrice:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        MaxPrice:
          type:
          - number
          - 'null'
          format: double
          example: 100.0
        PriceCurrencyCode:
          maxLength: 3
          type:
          - string
          - 'null'
          example: EUR
        MaxReservationCount:
          type:
          - integer
          - 'null'
          format: int32
          example: 1
      additionalProperties: false
      x-schema-id: RestrictionExceptions
    Rate:
      title: Rate
      required:
      - CurrencyCode
      - Description
      - Id
      - IsPrivate
      - Name
      - Ordering
      - RateGroupId
      type: object
      properties:
        Id:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        RateGroupId:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        Ordering:
          type: integer
          format: int32
          example: 1
        Name:
          type: object
          additionalProperties:
            type:
            - string
            - 'null'
        Description:
          type: object
          additionalProperties:
            type:
            - string
            - 'null'
        IsPrivate:
          type: boolean
          example: true
        CurrencyCode:
          maxLength: 3
          minLength: 1
          type: string
          format: currency
          example: EUR
      additionalProperties: false
      x-schema-id: Rate
    SettlementRuleType:
      enum:
      - Manual
      - Automatic
      type: string
    Language:
      title: Language
      required:
      - Code
      - DefaultCulture
      - Name
      type: object
      properties:
        Code:
          minLength: 1
          type: string
          example: string
        Name:
          minLength: 1
          type: string
          example: Example Name
        DefaultCulture:
          allOf:
          - $ref: '#/components/schemas/Culture'
          example: string
      additionalProperties: false
      x-schema-id: Language
    SettlementRuleAction:
      enum:
      - ChargeCreditCard
      - CreatePreauthorization
      type: string
    ResourceOccupancyPricing:
      title: ResourceOccupancyPricing
      required:
      - Pricing
      type: object
      properties:
        AdultCount:
          type:
          - integer
          - 'null'
          format: int32
          deprecated: true
          example: 1
        ChildCount:
          type:
          - integer
          - 'null'
          format: int32
          deprecated: true
          example: 1
        OccupancyData:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/OccupancyData'
        Pricing:
          type: array
          items:
            $ref: '#/components/schemas/ResourcePricing'
      additionalProperties: false
      x-schema-id: ResourceOccupancyPricing
    ResourceCategoryAvailability:
      title: ResourceCategoryAvailability
      required:
      - AvailableRoomCount
      - RoomCategoryId
      - RoomOccupancyAvailabilities
      type: object
      properties:
        RoomCategoryId:
          type: string
          format: uuid
          example: 3edd5f9e-7e64-4f2a-9a0e-b3f200e6c111
        AvailableRoomCount:
          type: integer
          format: int32
          example: 1
        RoomOccupancyAvailabilities:
          type: array
          items:
            $ref: '#/components/schemas/ResourceOccupancyPricing'
      additionalProperties: false
      x-schema-id: ResourceCategoryAvailability
    PaymentGatewayModel:
      enum:
  

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mews-systems/refs/heads/main/openapi/mews-systems-hotels-api-openapi.yml