naftiko: 1.0.0-alpha2 info: label: Montran Virtual Accounts API — Transactions description: 'Montran Virtual Accounts API — Transactions. 2 operations. Lead operation: Montran Create an internal transfer. Self-contained Naftiko capability covering one Montran business surface.' tags: - Montran - Transactions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MONTRAN_API_KEY: MONTRAN_API_KEY capability: consumes: - type: http namespace: virtual-accounts-transactions baseUri: https://api.montran.com/vam/v1 description: Montran Virtual Accounts API — Transactions business capability. Self-contained, no shared references. resources: - name: internal-transfers path: /internal-transfers operations: - name: createinternaltransfer method: POST description: Montran Create an internal transfer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: virtual-accounts-accountId-transactions path: /virtual-accounts/{accountId}/transactions operations: - name: listvirtualaccounttransactions method: GET description: Montran List virtual account transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fromDate in: query type: string - name: toDate in: query type: string - name: type in: query type: string description: Filter by transaction type - name: page in: query type: integer - name: pageSize in: query type: integer authentication: type: bearer token: '{{env.MONTRAN_API_KEY}}' exposes: - type: rest namespace: virtual-accounts-transactions-rest port: 8080 description: REST adapter for Montran Virtual Accounts API — Transactions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/internal-transfers name: internal-transfers description: REST surface for internal-transfers. operations: - method: POST name: createinternaltransfer description: Montran Create an internal transfer call: virtual-accounts-transactions.createinternaltransfer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/virtual-accounts/{accountid}/transactions name: virtual-accounts-accountid-transactions description: REST surface for virtual-accounts-accountId-transactions. operations: - method: GET name: listvirtualaccounttransactions description: Montran List virtual account transactions call: virtual-accounts-transactions.listvirtualaccounttransactions with: fromDate: rest.fromDate toDate: rest.toDate type: rest.type page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - type: mcp namespace: virtual-accounts-transactions-mcp port: 9090 transport: http description: MCP adapter for Montran Virtual Accounts API — Transactions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: montran-create-internal-transfer description: Montran Create an internal transfer hints: readOnly: false destructive: false idempotent: false call: virtual-accounts-transactions.createinternaltransfer with: body: tools.body outputParameters: - type: object mapping: $. - name: montran-list-virtual-account-transactions description: Montran List virtual account transactions hints: readOnly: true destructive: false idempotent: true call: virtual-accounts-transactions.listvirtualaccounttransactions with: fromDate: tools.fromDate toDate: tools.toDate type: tools.type page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $.