naftiko: 1.0.0-alpha2 info: label: Adyen Account API — Accounts description: 'Adyen Account API — Accounts. 6 operations. Lead operation: Adyen Trigger Verification. Self-contained Naftiko capability covering one Adyen business surface.' tags: - Adyen - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADYEN_API_KEY: ADYEN_API_KEY capability: consumes: - type: http namespace: account-accounts baseUri: https://cal-test.adyen.com/cal/services/Account/v6 description: Adyen Account API — Accounts business capability. Self-contained, no shared references. resources: - name: checkAccountHolder path: /checkAccountHolder operations: - name: postcheckaccountholder method: POST description: Adyen Trigger Verification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: closeAccount path: /closeAccount operations: - name: postcloseaccount method: POST description: Adyen Close an Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: closeAccountHolder path: /closeAccountHolder operations: - name: postcloseaccountholder method: POST description: Adyen Close an Account Holder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteBankAccounts path: /deleteBankAccounts operations: - name: postdeletebankaccounts method: POST description: Adyen Delete Bank Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: suspendAccountHolder path: /suspendAccountHolder operations: - name: postsuspendaccountholder method: POST description: Adyen Suspend an Account Holder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: unSuspendAccountHolder path: /unSuspendAccountHolder operations: - name: postunsuspendaccountholder method: POST description: Adyen Unsuspend an Account Holder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: X-API-Key value: '{{env.ADYEN_API_KEY}}' placement: header exposes: - type: rest namespace: account-accounts-rest port: 8080 description: REST adapter for Adyen Account API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/checkaccountholder name: checkaccountholder description: REST surface for checkAccountHolder. operations: - method: POST name: postcheckaccountholder description: Adyen Trigger Verification call: account-accounts.postcheckaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/closeaccount name: closeaccount description: REST surface for closeAccount. operations: - method: POST name: postcloseaccount description: Adyen Close an Account call: account-accounts.postcloseaccount with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/closeaccountholder name: closeaccountholder description: REST surface for closeAccountHolder. operations: - method: POST name: postcloseaccountholder description: Adyen Close an Account Holder call: account-accounts.postcloseaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deletebankaccounts name: deletebankaccounts description: REST surface for deleteBankAccounts. operations: - method: POST name: postdeletebankaccounts description: Adyen Delete Bank Accounts call: account-accounts.postdeletebankaccounts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/suspendaccountholder name: suspendaccountholder description: REST surface for suspendAccountHolder. operations: - method: POST name: postsuspendaccountholder description: Adyen Suspend an Account Holder call: account-accounts.postsuspendaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/unsuspendaccountholder name: unsuspendaccountholder description: REST surface for unSuspendAccountHolder. operations: - method: POST name: postunsuspendaccountholder description: Adyen Unsuspend an Account Holder call: account-accounts.postunsuspendaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: account-accounts-mcp port: 9090 transport: http description: MCP adapter for Adyen Account API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adyen-trigger-verification description: Adyen Trigger Verification hints: readOnly: false destructive: false idempotent: false call: account-accounts.postcheckaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-close-account description: Adyen Close an Account hints: readOnly: false destructive: false idempotent: false call: account-accounts.postcloseaccount with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-close-account-holder description: Adyen Close an Account Holder hints: readOnly: false destructive: false idempotent: false call: account-accounts.postcloseaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-delete-bank-accounts description: Adyen Delete Bank Accounts hints: readOnly: false destructive: false idempotent: false call: account-accounts.postdeletebankaccounts with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-suspend-account-holder description: Adyen Suspend an Account Holder hints: readOnly: false destructive: false idempotent: false call: account-accounts.postsuspendaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-unsuspend-account-holder description: Adyen Unsuspend an Account Holder hints: readOnly: false destructive: false idempotent: false call: account-accounts.postunsuspendaccountholder with: body: tools.body outputParameters: - type: object mapping: $.