naftiko: 1.0.0-alpha2 info: label: Adyen Account API — Account description: 'Adyen Account API — Account. 6 operations. Lead operation: Adyen Create an Account. Self-contained Naftiko capability covering one Adyen business surface.' tags: - Adyen - Account created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADYEN_API_KEY: ADYEN_API_KEY capability: consumes: - type: http namespace: account-account baseUri: https://cal-test.adyen.com/cal/services/Account/v6 description: Adyen Account API — Account business capability. Self-contained, no shared references. resources: - name: createAccount path: /createAccount operations: - name: postcreateaccount method: POST description: Adyen Create an Account 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: updateAccount path: /updateAccount operations: - name: postupdateaccount method: POST description: Adyen Update an Account 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-account-rest port: 8080 description: REST adapter for Adyen Account API — Account. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/createaccount name: createaccount description: REST surface for createAccount. operations: - method: POST name: postcreateaccount description: Adyen Create an Account call: account-account.postcreateaccount 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-account.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-account.postgetaccountholder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/updateaccount name: updateaccount description: REST surface for updateAccount. operations: - method: POST name: postupdateaccount description: Adyen Update an Account call: account-account.postupdateaccount 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-account.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-account.postupdateaccountholderstate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: account-account-mcp port: 9090 transport: http description: MCP adapter for Adyen Account API — Account. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adyen-create-account description: Adyen Create an Account hints: readOnly: false destructive: false idempotent: false call: account-account.postcreateaccount 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-account.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-account.postgetaccountholder with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-update-account description: Adyen Update an Account hints: readOnly: false destructive: false idempotent: false call: account-account.postupdateaccount 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-account.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-account.postupdateaccountholderstate with: body: tools.body outputParameters: - type: object mapping: $.