naftiko: 1.0.0-alpha2 info: label: Synctera API — Internal Accounts description: 'Synctera API — Internal Accounts. 3 operations. Lead operation: List internal accounts. Self-contained Naftiko capability covering one Synctera business surface.' tags: - Synctera - Internal Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SYNCTERA_API_KEY: SYNCTERA_API_KEY capability: consumes: - type: http namespace: synctera-internal-accounts baseUri: https://api.synctera.com/v0 description: Synctera API — Internal Accounts business capability. Self-contained, no shared references. resources: - name: internal_accounts path: /internal_accounts operations: - name: listinternalaccounts method: GET description: List internal accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addinternalaccounts method: POST description: Add internal accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: internal_accounts-internal_account_id path: /internal_accounts/{internal_account_id} operations: - name: patchinternalaccount method: PATCH description: Patch internal account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SYNCTERA_API_KEY}}' exposes: - type: rest namespace: synctera-internal-accounts-rest port: 8080 description: REST adapter for Synctera API — Internal Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/internal-accounts name: internal-accounts description: REST surface for internal_accounts. operations: - method: GET name: listinternalaccounts description: List internal accounts call: synctera-internal-accounts.listinternalaccounts outputParameters: - type: object mapping: $. - method: POST name: addinternalaccounts description: Add internal accounts call: synctera-internal-accounts.addinternalaccounts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/internal-accounts/{internal-account-id} name: internal-accounts-internal-account-id description: REST surface for internal_accounts-internal_account_id. operations: - method: PATCH name: patchinternalaccount description: Patch internal account call: synctera-internal-accounts.patchinternalaccount with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: synctera-internal-accounts-mcp port: 9090 transport: http description: MCP adapter for Synctera API — Internal Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-internal-accounts description: List internal accounts hints: readOnly: true destructive: false idempotent: true call: synctera-internal-accounts.listinternalaccounts outputParameters: - type: object mapping: $. - name: add-internal-accounts description: Add internal accounts hints: readOnly: false destructive: false idempotent: false call: synctera-internal-accounts.addinternalaccounts with: body: tools.body outputParameters: - type: object mapping: $. - name: patch-internal-account description: Patch internal account hints: readOnly: false destructive: false idempotent: true call: synctera-internal-accounts.patchinternalaccount with: body: tools.body outputParameters: - type: object mapping: $.