naftiko: 1.0.0-alpha2 info: label: Apideck Accounting API — Payments description: 'Apideck Accounting API — Payments. 5 operations. Lead operation: Apideck List Payments. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Payments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: accounting-payments baseUri: https://unify.apideck.com description: Apideck Accounting API — Payments business capability. Self-contained, no shared references. resources: - name: accounting-payments path: /accounting/payments operations: - name: paymentsall method: GET description: Apideck List Payments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: paymentsadd method: POST description: Apideck Create Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounting-payments-id path: /accounting/payments/{id} operations: - name: paymentsone method: GET description: Apideck Get Payment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: paymentsupdate method: PATCH description: Apideck Update Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: paymentsdelete method: DELETE description: Apideck Delete Payment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.APIDECK_API_KEY}}' placement: header exposes: - type: rest namespace: accounting-payments-rest port: 8080 description: REST adapter for Apideck Accounting API — Payments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounting/payments name: accounting-payments description: REST surface for accounting-payments. operations: - method: GET name: paymentsall description: Apideck List Payments call: accounting-payments.paymentsall outputParameters: - type: object mapping: $. - method: POST name: paymentsadd description: Apideck Create Payment call: accounting-payments.paymentsadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounting/payments/{id} name: accounting-payments-id description: REST surface for accounting-payments-id. operations: - method: GET name: paymentsone description: Apideck Get Payment call: accounting-payments.paymentsone outputParameters: - type: object mapping: $. - method: PATCH name: paymentsupdate description: Apideck Update Payment call: accounting-payments.paymentsupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: paymentsdelete description: Apideck Delete Payment call: accounting-payments.paymentsdelete outputParameters: - type: object mapping: $. - type: mcp namespace: accounting-payments-mcp port: 9090 transport: http description: MCP adapter for Apideck Accounting API — Payments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-list-payments description: Apideck List Payments hints: readOnly: true destructive: false idempotent: true call: accounting-payments.paymentsall outputParameters: - type: object mapping: $. - name: apideck-create-payment description: Apideck Create Payment hints: readOnly: false destructive: false idempotent: false call: accounting-payments.paymentsadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-payment description: Apideck Get Payment hints: readOnly: true destructive: false idempotent: true call: accounting-payments.paymentsone outputParameters: - type: object mapping: $. - name: apideck-update-payment description: Apideck Update Payment hints: readOnly: false destructive: false idempotent: true call: accounting-payments.paymentsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-delete-payment description: Apideck Delete Payment hints: readOnly: false destructive: true idempotent: true call: accounting-payments.paymentsdelete outputParameters: - type: object mapping: $.