booking-com · Capability

Booking.com Demand API — Payments

Booking.com Demand API — Payments. 2 operations. Lead operation: Get supported currencies. Self-contained Naftiko capability covering one Booking Com business surface.

Run with Naftiko Booking ComPayments

What You Can Do

POST
Getpaymentcurrencies — Get supported currencies
/v1/payments/currencies
POST
Getpaymenttypes — Get payment types
/v1/payments/types

MCP Tools

get-supported-currencies

Get supported currencies

read-only
get-payment-types

Get payment types

read-only

Capability Spec

demand-payments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Booking.com Demand API — Payments
  description: 'Booking.com Demand API — Payments. 2 operations. Lead operation: Get supported currencies. Self-contained
    Naftiko capability covering one Booking Com business surface.'
  tags:
  - Booking Com
  - Payments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOOKING_COM_API_KEY: BOOKING_COM_API_KEY
capability:
  consumes:
  - type: http
    namespace: demand-payments
    baseUri: https://demandapi.booking.com/3.1
    description: Booking.com Demand API — Payments business capability. Self-contained, no shared references.
    resources:
    - name: payments-currencies
      path: /payments/currencies
      operations:
      - name: getpaymentcurrencies
        method: POST
        description: Get supported currencies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payments-types
      path: /payments/types
      operations:
      - name: getpaymenttypes
        method: POST
        description: Get payment types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.BOOKING_COM_API_KEY}}'
  exposes:
  - type: rest
    namespace: demand-payments-rest
    port: 8080
    description: REST adapter for Booking.com Demand API — Payments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/payments/currencies
      name: payments-currencies
      description: REST surface for payments-currencies.
      operations:
      - method: POST
        name: getpaymentcurrencies
        description: Get supported currencies
        call: demand-payments.getpaymentcurrencies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payments/types
      name: payments-types
      description: REST surface for payments-types.
      operations:
      - method: POST
        name: getpaymenttypes
        description: Get payment types
        call: demand-payments.getpaymenttypes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: demand-payments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Booking.com Demand API — Payments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-supported-currencies
      description: Get supported currencies
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: demand-payments.getpaymentcurrencies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-payment-types
      description: Get payment types
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: demand-payments.getpaymenttypes
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.