naftiko: 1.0.0-alpha2 info: label: Nomba Accounts API — Accounts description: 'Nomba Accounts API — Accounts. 3 operations. Lead operation: Fetch parent account details. Self-contained Naftiko capability covering one Nomba business surface.' tags: - Nomba - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NOMBA_API_KEY: NOMBA_API_KEY capability: consumes: - type: http namespace: accounts-accounts baseUri: https://api.nomba.com description: Nomba Accounts API — Accounts business capability. Self-contained, no shared references. resources: - name: v1-accounts path: /v1/accounts operations: - name: fetchparentaccountdetails method: GET description: Fetch parent account details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-accounts-balance path: /v1/accounts/balance operations: - name: fetchparentaccountbalance method: GET description: Fetch parent account balance outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-accounts-accountId-terminals path: /v1/accounts/{accountId}/terminals operations: - name: fetchterminalsassignedtoaccount method: GET description: Fetch terminals assigned to an account outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.NOMBA_API_KEY}}' exposes: - type: rest namespace: accounts-accounts-rest port: 8080 description: REST adapter for Nomba Accounts API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/accounts name: v1-accounts description: REST surface for v1-accounts. operations: - method: GET name: fetchparentaccountdetails description: Fetch parent account details call: accounts-accounts.fetchparentaccountdetails outputParameters: - type: object mapping: $. - path: /v1/v1/accounts/balance name: v1-accounts-balance description: REST surface for v1-accounts-balance. operations: - method: GET name: fetchparentaccountbalance description: Fetch parent account balance call: accounts-accounts.fetchparentaccountbalance outputParameters: - type: object mapping: $. - path: /v1/v1/accounts/{accountid}/terminals name: v1-accounts-accountid-terminals description: REST surface for v1-accounts-accountId-terminals. operations: - method: GET name: fetchterminalsassignedtoaccount description: Fetch terminals assigned to an account call: accounts-accounts.fetchterminalsassignedtoaccount outputParameters: - type: object mapping: $. - type: mcp namespace: accounts-accounts-mcp port: 9090 transport: http description: MCP adapter for Nomba Accounts API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: fetch-parent-account-details description: Fetch parent account details hints: readOnly: true destructive: false idempotent: true call: accounts-accounts.fetchparentaccountdetails outputParameters: - type: object mapping: $. - name: fetch-parent-account-balance description: Fetch parent account balance hints: readOnly: true destructive: false idempotent: true call: accounts-accounts.fetchparentaccountbalance outputParameters: - type: object mapping: $. - name: fetch-terminals-assigned-account description: Fetch terminals assigned to an account hints: readOnly: true destructive: false idempotent: true call: accounts-accounts.fetchterminalsassignedtoaccount outputParameters: - type: object mapping: $.