naftiko: 1.0.0-alpha2 info: label: Basiq API — Accounts description: 'Basiq API — Accounts. 2 operations. Lead operation: List Accounts. Self-contained Naftiko capability covering one Basiq business surface.' tags: - Basiq - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BASIQ_API_KEY: BASIQ_API_KEY capability: consumes: - type: http namespace: basiq-accounts baseUri: https://au-api.basiq.io description: Basiq API — Accounts business capability. Self-contained, no shared references. resources: - name: users-userId-accounts path: /users/{userId}/accounts operations: - name: listaccounts method: GET description: List Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-userId-accounts-accountId path: /users/{userId}/accounts/{accountId} operations: - name: getaccount method: GET description: Get Account outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.BASIQ_API_KEY}}' exposes: - type: rest namespace: basiq-accounts-rest port: 8080 description: REST adapter for Basiq API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{userid}/accounts name: users-userid-accounts description: REST surface for users-userId-accounts. operations: - method: GET name: listaccounts description: List Accounts call: basiq-accounts.listaccounts outputParameters: - type: object mapping: $. - path: /v1/users/{userid}/accounts/{accountid} name: users-userid-accounts-accountid description: REST surface for users-userId-accounts-accountId. operations: - method: GET name: getaccount description: Get Account call: basiq-accounts.getaccount outputParameters: - type: object mapping: $. - type: mcp namespace: basiq-accounts-mcp port: 9090 transport: http description: MCP adapter for Basiq API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-accounts description: List Accounts hints: readOnly: true destructive: false idempotent: true call: basiq-accounts.listaccounts outputParameters: - type: object mapping: $. - name: get-account description: Get Account hints: readOnly: true destructive: false idempotent: true call: basiq-accounts.getaccount outputParameters: - type: object mapping: $.