naftiko: 1.0.0-alpha2 info: label: Adyen Account API — Holders description: 'Adyen Account API — Holders. 8 operations. Lead operation: Adyen Trigger Verification. Self-contained Naftiko capability covering one Adyen business surface.' tags: - Adyen - Holders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADYEN_API_KEY: ADYEN_API_KEY capability: consumes: - type: http namespace: account-holders baseUri: https://cal-test.adyen.com/cal/services/Account/v6 description: Adyen Account API — Holders 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: 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: createAccountHolder path: /createAccountHolder operations: - name: postcreateaccountholder method: POST description: Adyen Create 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: getAccountHolder path: /getAccountHolder operations: - name: postgetaccountholder method: POST description: Adyen Get 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: 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 - name: updateAccountHolder path: /updateAccountHolder operations: - name: postupdateaccountholder method: POST description: Adyen Update 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: updateAccountHolderState path: /updateAccountHolderState operations: - name: postupdateaccountholderstate method: POST description: Adyen Update Payout or Processing State 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-holders-rest port: 8080 description: REST adapter for Adyen Account API — Holders. 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-holders.postcheckaccountholder 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-holders.postcloseaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/createaccountholder name: createaccountholder description: REST surface for createAccountHolder. operations: - method: POST name: postcreateaccountholder description: Adyen Create an Account Holder call: account-holders.postcreateaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/getaccountholder name: getaccountholder description: REST surface for getAccountHolder. operations: - method: POST name: postgetaccountholder description: Adyen Get an Account Holder call: account-holders.postgetaccountholder 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-holders.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-holders.postunsuspendaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/updateaccountholder name: updateaccountholder description: REST surface for updateAccountHolder. operations: - method: POST name: postupdateaccountholder description: Adyen Update an Account Holder call: account-holders.postupdateaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/updateaccountholderstate name: updateaccountholderstate description: REST surface for updateAccountHolderState. operations: - method: POST name: postupdateaccountholderstate description: Adyen Update Payout or Processing State call: account-holders.postupdateaccountholderstate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: account-holders-mcp port: 9090 transport: http description: MCP adapter for Adyen Account API — Holders. 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-holders.postcheckaccountholder 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-holders.postcloseaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-create-account-holder description: Adyen Create an Account Holder hints: readOnly: false destructive: false idempotent: false call: account-holders.postcreateaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-get-account-holder description: Adyen Get an Account Holder hints: readOnly: true destructive: false idempotent: false call: account-holders.postgetaccountholder 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-holders.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-holders.postunsuspendaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-update-account-holder description: Adyen Update an Account Holder hints: readOnly: false destructive: false idempotent: false call: account-holders.postupdateaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-update-payout-processing-state description: Adyen Update Payout or Processing State hints: readOnly: false destructive: false idempotent: false call: account-holders.postupdateaccountholderstate with: body: tools.body outputParameters: - type: object mapping: $.