naftiko: 1.0.0-alpha2 info: label: Shift4 Payments API — Disputes description: 'Shift4 Payments API — Disputes. 2 operations. Lead operation: List Disputes. Self-contained Naftiko capability covering one Shift4 Payments business surface.' tags: - Shift4 Payments - Disputes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHIFT4_PAYMENTS_API_KEY: SHIFT4_PAYMENTS_API_KEY capability: consumes: - type: http namespace: shift4-disputes baseUri: https://api.shift4.com description: Shift4 Payments API — Disputes business capability. Self-contained, no shared references. resources: - name: disputes path: /disputes operations: - name: listdisputes method: GET description: List Disputes outputRawFormat: json outputParameters: - name: result type: object value: $. - name: disputes-disputeId path: /disputes/{disputeId} operations: - name: getdispute method: GET description: Retrieve a Dispute outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.SHIFT4_PAYMENTS_USER}}' password: '{{env.SHIFT4_PAYMENTS_PASS}}' exposes: - type: rest namespace: shift4-disputes-rest port: 8080 description: REST adapter for Shift4 Payments API — Disputes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/disputes name: disputes description: REST surface for disputes. operations: - method: GET name: listdisputes description: List Disputes call: shift4-disputes.listdisputes outputParameters: - type: object mapping: $. - path: /v1/disputes/{disputeid} name: disputes-disputeid description: REST surface for disputes-disputeId. operations: - method: GET name: getdispute description: Retrieve a Dispute call: shift4-disputes.getdispute outputParameters: - type: object mapping: $. - type: mcp namespace: shift4-disputes-mcp port: 9090 transport: http description: MCP adapter for Shift4 Payments API — Disputes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-disputes description: List Disputes hints: readOnly: true destructive: false idempotent: true call: shift4-disputes.listdisputes outputParameters: - type: object mapping: $. - name: retrieve-dispute description: Retrieve a Dispute hints: readOnly: true destructive: false idempotent: true call: shift4-disputes.getdispute outputParameters: - type: object mapping: $.