naftiko: 1.0.0-alpha2 info: label: Adyen Legal Entity Management API — businessLines description: 'Adyen Legal Entity Management API — businessLines. 4 operations. Lead operation: Adyen Create a Business Line. Self-contained Naftiko capability covering one Adyen business surface.' tags: - Adyen - businessLines created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADYEN_API_KEY: ADYEN_API_KEY capability: consumes: - type: http namespace: legal-entity-businesslines baseUri: https://kyc-test.adyen.com/lem/v3 description: Adyen Legal Entity Management API — businessLines business capability. Self-contained, no shared references. resources: - name: businessLines path: /businessLines operations: - name: postbusinesslines method: POST description: Adyen Create a Business Line outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: businessLines-id path: /businessLines/{id} operations: - name: deletebusinesslinesid method: DELETE description: Adyen Delete a Business Line outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the business line to be deleted. required: true - name: getbusinesslinesid method: GET description: Adyen Get a Business Line outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the business line. required: true - name: patchbusinesslinesid method: PATCH description: Adyen Update a Business Line outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the business line. required: true - 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: legal-entity-businesslines-rest port: 8080 description: REST adapter for Adyen Legal Entity Management API — businessLines. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/businesslines name: businesslines description: REST surface for businessLines. operations: - method: POST name: postbusinesslines description: Adyen Create a Business Line call: legal-entity-businesslines.postbusinesslines with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/businesslines/{id} name: businesslines-id description: REST surface for businessLines-id. operations: - method: DELETE name: deletebusinesslinesid description: Adyen Delete a Business Line call: legal-entity-businesslines.deletebusinesslinesid with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getbusinesslinesid description: Adyen Get a Business Line call: legal-entity-businesslines.getbusinesslinesid with: id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchbusinesslinesid description: Adyen Update a Business Line call: legal-entity-businesslines.patchbusinesslinesid with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: legal-entity-businesslines-mcp port: 9090 transport: http description: MCP adapter for Adyen Legal Entity Management API — businessLines. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adyen-create-business-line description: Adyen Create a Business Line hints: readOnly: false destructive: false idempotent: false call: legal-entity-businesslines.postbusinesslines with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-delete-business-line description: Adyen Delete a Business Line hints: readOnly: false destructive: true idempotent: true call: legal-entity-businesslines.deletebusinesslinesid with: id: tools.id outputParameters: - type: object mapping: $. - name: adyen-get-business-line description: Adyen Get a Business Line hints: readOnly: true destructive: false idempotent: true call: legal-entity-businesslines.getbusinesslinesid with: id: tools.id outputParameters: - type: object mapping: $. - name: adyen-update-business-line description: Adyen Update a Business Line hints: readOnly: false destructive: false idempotent: true call: legal-entity-businesslines.patchbusinesslinesid with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.