PayPal · Capability

Paypal Disputes — Disputes

Paypal Disputes — Disputes. 3 operations. Lead operation: Paypal List disputes. Self-contained Naftiko capability covering one Paypal business surface.

Run with Naftiko PaypalDisputes

What You Can Do

GET
Disputeslist — Paypal List disputes
/v1/v1/customer/disputes
GET
Disputesget — Paypal Show dispute details
/v1/v1/customer/disputes/{id}
PATCH
Disputespatch — Paypal Partially update dispute
/v1/v1/customer/disputes/{id}

MCP Tools

paypal-list-disputes

Paypal List disputes

read-only idempotent
paypal-show-dispute-details

Paypal Show dispute details

read-only idempotent
paypal-partially-update-dispute

Paypal Partially update dispute

idempotent

Capability Spec

customer-disputes-disputes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Paypal Disputes — Disputes
  description: 'Paypal Disputes — Disputes. 3 operations. Lead operation: Paypal List disputes. Self-contained Naftiko capability
    covering one Paypal business surface.'
  tags:
  - Paypal
  - Disputes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PAYPAL_API_KEY: PAYPAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: customer-disputes-disputes
    baseUri: https://api-m.sandbox.paypal.com
    description: Paypal Disputes — Disputes business capability. Self-contained, no shared references.
    resources:
    - name: v1-customer-disputes
      path: /v1/customer/disputes
      operations:
      - name: disputeslist
        method: GET
        description: Paypal List disputes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-customer-disputes-id
      path: /v1/customer/disputes/{id}
      operations:
      - name: disputesget
        method: GET
        description: Paypal Show dispute details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: disputespatch
        method: PATCH
        description: Paypal Partially update dispute
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.PAYPAL_API_KEY}}'
  exposes:
  - type: rest
    namespace: customer-disputes-disputes-rest
    port: 8080
    description: REST adapter for Paypal Disputes — Disputes. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/customer/disputes
      name: v1-customer-disputes
      description: REST surface for v1-customer-disputes.
      operations:
      - method: GET
        name: disputeslist
        description: Paypal List disputes
        call: customer-disputes-disputes.disputeslist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customer/disputes/{id}
      name: v1-customer-disputes-id
      description: REST surface for v1-customer-disputes-id.
      operations:
      - method: GET
        name: disputesget
        description: Paypal Show dispute details
        call: customer-disputes-disputes.disputesget
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: disputespatch
        description: Paypal Partially update dispute
        call: customer-disputes-disputes.disputespatch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: customer-disputes-disputes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Paypal Disputes — Disputes. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: paypal-list-disputes
      description: Paypal List disputes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customer-disputes-disputes.disputeslist
      outputParameters:
      - type: object
        mapping: $.
    - name: paypal-show-dispute-details
      description: Paypal Show dispute details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customer-disputes-disputes.disputesget
      outputParameters:
      - type: object
        mapping: $.
    - name: paypal-partially-update-dispute
      description: Paypal Partially update dispute
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: customer-disputes-disputes.disputespatch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.