Unified.to · Capability

Unified.to API — payment

Unified.to API — payment. 28 operations. Lead operation: List all links. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Topayment

What You Can Do

GET
Listpaymentlinks — List all links
/v1/payment/{connection-id}/link
POST
Createpaymentlink — Create a link
/v1/payment/{connection-id}/link
DELETE
Removepaymentlink — Remove a link
/v1/payment/{connection-id}/link/{id}
GET
Getpaymentlink — Retrieve a link
/v1/payment/{connection-id}/link/{id}
PATCH
Patchpaymentlink — Update a link
/v1/payment/{connection-id}/link/{id}
PUT
Updatepaymentlink — Update a link
/v1/payment/{connection-id}/link/{id}
GET
Listpaymentpayments — List all payments
/v1/payment/{connection-id}/payment
GET
Listpaymentpayments — List all payments
/v1/payment/{connection-id}/payment
POST
Createpaymentpayment — Create a payment
/v1/payment/{connection-id}/payment
POST
Createpaymentpayment — Create a payment
/v1/payment/{connection-id}/payment
DELETE
Removepaymentpayment — Remove a payment
/v1/payment/{connection-id}/payment/{id}
DELETE
Removepaymentpayment — Remove a payment
/v1/payment/{connection-id}/payment/{id}
GET
Getpaymentpayment — Retrieve a payment
/v1/payment/{connection-id}/payment/{id}
GET
Getpaymentpayment — Retrieve a payment
/v1/payment/{connection-id}/payment/{id}
PATCH
Patchpaymentpayment — Update a payment
/v1/payment/{connection-id}/payment/{id}
PATCH
Patchpaymentpayment — Update a payment
/v1/payment/{connection-id}/payment/{id}
PUT
Updatepaymentpayment — Update a payment
/v1/payment/{connection-id}/payment/{id}
PUT
Updatepaymentpayment — Update a payment
/v1/payment/{connection-id}/payment/{id}
GET
Listpaymentpayouts — List all payouts
/v1/payment/{connection-id}/payout
GET
Getpaymentpayout — Retrieve a payout
/v1/payment/{connection-id}/payout/{id}
GET
Listpaymentrefunds — List all refunds
/v1/payment/{connection-id}/refund
GET
Getpaymentrefund — Retrieve a refund
/v1/payment/{connection-id}/refund/{id}
GET
Listpaymentsubscriptions — List all subscriptions
/v1/payment/{connection-id}/subscription
POST
Createpaymentsubscription — Create a subscription
/v1/payment/{connection-id}/subscription
DELETE
Removepaymentsubscription — Remove a subscription
/v1/payment/{connection-id}/subscription/{id}
GET
Getpaymentsubscription — Retrieve a subscription
/v1/payment/{connection-id}/subscription/{id}
PATCH
Patchpaymentsubscription — Update a subscription
/v1/payment/{connection-id}/subscription/{id}
PUT
Updatepaymentsubscription — Update a subscription
/v1/payment/{connection-id}/subscription/{id}

MCP Tools

list-all-links

List all links

read-only idempotent
create-link

Create a link

remove-link

Remove a link

idempotent
retrieve-link

Retrieve a link

read-only idempotent
update-link

Update a link

idempotent
update-link-2

Update a link

idempotent
list-all-payments

List all payments

read-only idempotent
list-all-payments-2

List all payments

read-only idempotent
create-payment

Create a payment

create-payment-2

Create a payment

remove-payment

Remove a payment

idempotent
remove-payment-2

Remove a payment

idempotent
retrieve-payment

Retrieve a payment

read-only idempotent
retrieve-payment-2

Retrieve a payment

read-only idempotent
update-payment

Update a payment

idempotent
update-payment-2

Update a payment

idempotent
update-payment-3

Update a payment

idempotent
update-payment-4

Update a payment

idempotent
list-all-payouts

List all payouts

read-only idempotent
retrieve-payout

Retrieve a payout

read-only idempotent
list-all-refunds

List all refunds

read-only idempotent
retrieve-refund

Retrieve a refund

read-only idempotent
list-all-subscriptions

List all subscriptions

read-only idempotent
create-subscription

Create a subscription

remove-subscription

Remove a subscription

idempotent
retrieve-subscription

Retrieve a subscription

read-only idempotent
update-subscription

Update a subscription

idempotent
update-subscription-2

Update a subscription

idempotent

Capability Spec

it-ops-payment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — payment
  description: 'Unified.to  API — payment. 28 operations. Lead operation: List all links. Self-contained Naftiko capability
    covering one Unified To business surface.'
  tags:
  - Unified To
  - payment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: it-ops-payment
    baseUri: https://api.unified.to
    description: Unified.to  API — payment business capability. Self-contained, no shared references.
    resources:
    - name: payment-connection_id-link
      path: /payment/{connection_id}/link
      operations:
      - name: listpaymentlinks
        method: GET
        description: List all links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: contact_id
          in: query
          type: string
          description: The contact ID to filter by (reference to AccountingContact)
        - name: payment_id
          in: query
          type: string
          description: The payment ID to filter by (reference to PaymentPayment)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createpaymentlink
        method: POST
        description: Create a link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-connection_id-link-id
      path: /payment/{connection_id}/link/{id}
      operations:
      - name: removepaymentlink
        method: DELETE
        description: Remove a link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Link
          required: true
      - name: getpaymentlink
        method: GET
        description: Retrieve a link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Link
          required: true
      - name: patchpaymentlink
        method: PATCH
        description: Update a link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Link
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatepaymentlink
        method: PUT
        description: Update a link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Link
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-connection_id-payment
      path: /payment/{connection_id}/payment
      operations:
      - name: listpaymentpayments
        method: GET
        description: List all payments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: invoice_id
          in: query
          type: string
          description: The invoice ID to filter by (reference to AccountingInvoice)
        - name: contact_id
          in: query
          type: string
          description: The contact ID to filter by (reference to AccountingContact)
        - name: link_id
          in: query
          type: string
          description: The link ID to filter by
        - name: bill_id
          in: query
          type: string
          description: The bill ID to filter by
        - name: type
          in: query
          type: string
          description: The type to filter by
        - name: org_id
          in: query
          type: string
          description: The org ID to filter by (reference to AccountingOrganization)
        - name: start_gte
          in: query
          type: string
          description: The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: end_lt
          in: query
          type: string
          description: The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: listpaymentpayments
        method: GET
        description: List all payments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: invoice_id
          in: query
          type: string
          description: The invoice ID to filter by (reference to AccountingInvoice)
        - name: contact_id
          in: query
          type: string
          description: The contact ID to filter by (reference to AccountingContact)
        - name: link_id
          in: query
          type: string
          description: The link ID to filter by
        - name: bill_id
          in: query
          type: string
          description: The bill ID to filter by
        - name: type
          in: query
          type: string
          description: The type to filter by
        - name: org_id
          in: query
          type: string
          description: The org ID to filter by (reference to AccountingOrganization)
        - name: start_gte
          in: query
          type: string
          description: The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: end_lt
          in: query
          type: string
          description: The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createpaymentpayment
        method: POST
        description: Create a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: createpaymentpayment
        method: POST
        description: Create a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-connection_id-payment-id
      path: /payment/{connection_id}/payment/{id}
      operations:
      - name: removepaymentpayment
        method: DELETE
        description: Remove a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
      - name: removepaymentpayment
        method: DELETE
        description: Remove a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
      - name: getpaymentpayment
        method: GET
        description: Retrieve a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
      - name: getpaymentpayment
        method: GET
        description: Retrieve a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
      - name: patchpaymentpayment
        method: PATCH
        description: Update a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: patchpaymentpayment
        method: PATCH
        description: Update a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatepaymentpayment
        method: PUT
        description: Update a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatepaymentpayment
        method: PUT
        description: Update a payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-connection_id-payout
      path: /payment/{connection_id}/payout
      operations:
      - name: listpaymentpayouts
        method: GET
        description: List all payouts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
    - name: payment-connection_id-payout-id
      path: /payment/{connection_id}/payout/{id}
      operations:
      - name: getpaymentpayout
        method: GET
        description: Retrieve a payout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Payout
          required: true
    - name: payment-connection_id-refund
      path: /payment/{connection_id}/refund
      operations:
      - name: listpaymentrefunds
        method: GET
        description: List all refunds
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: payment_id
          in: query
          type: string
          description: The payment ID to filter by (reference to PaymentPayment)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
    - name: payment-connection_id-refund-id
      path: /payment/{connection_id}/refund/{id}
      operations:
      - name: getpaymentrefund
        method: GET
        description: Retrieve a refund
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Refund
          required: true
    - name: payment-connection_id-subscription
      path: /payment/{connection_id}/subscription
      operations:
      - name: listpaymentsubscriptions
        method: GET
        description: List all subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: contact_id
          in: query
          type: string
          description: The contact ID to filter by (reference to AccountingContact)
        - name: start_gte
          in: query
          type: string
          description: The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: end_lt
          in: query
          type: string
          description: The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createpaymentsubscription
        method: POST
        description: Create a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: payment-connection_id-subscription-id
      path: /payment/{connection_id}/subscription/{id}
      operations:
      - name: removepaymentsubscription
        method: DELETE
        description: Remove a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Subscription
          required: true
      - name: getpaymentsubscription
        method: GET
        description: Retrieve a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Subscription
          required: true
      - name: patchpaymentsubscription
        method: PATCH
        description: Update a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Subscription
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatepaymentsubscription
        method: PUT
        description: Update a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Subscription
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: it-ops-payment-rest
    port: 8080
    description: REST adapter for Unified.to  API — payment. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/payment/{connection-id}/link
      name: payment-connection-id-link
      description: REST surface for payment-connection_id-link.
      operations:
      - method: GET
        name: listpaymentlinks
        description: List all links
        call: it-ops-payment.listpaymentlinks
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          contact_id: rest.contact_id
          payment_id: rest.payment_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpaymentlink
        description: Create a link
        call: it-ops-paymen

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/capabilities/it-ops-payment.yaml