naftiko: 1.0.0-alpha2 info: label: Montran Corporate Payments Portal API — Payments description: 'Montran Corporate Payments Portal API — Payments. 3 operations. Lead operation: Montran List corporate payments. Self-contained Naftiko capability covering one Montran business surface.' tags: - Montran - Payments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MONTRAN_API_KEY: MONTRAN_API_KEY capability: consumes: - type: http namespace: corporate-payments-portal-payments baseUri: https://api.montran.com/corporate/v1 description: Montran Corporate Payments Portal API — Payments business capability. Self-contained, no shared references. resources: - name: payments path: /payments operations: - name: listcorporatepayments method: GET description: Montran List corporate payments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by payment status - name: paymentType in: query type: string description: Filter by payment type - name: bankId in: query type: string description: Filter by bank relationship - name: currency in: query type: string - name: fromDate in: query type: string - name: toDate in: query type: string - name: page in: query type: integer - name: pageSize in: query type: integer - name: createcorporatepayment method: POST description: Montran Create a corporate payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: payments-paymentId path: /payments/{paymentId} operations: - name: getcorporatepayment method: GET description: Montran Get payment details outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MONTRAN_API_KEY}}' exposes: - type: rest namespace: corporate-payments-portal-payments-rest port: 8080 description: REST adapter for Montran Corporate Payments Portal API — Payments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/payments name: payments description: REST surface for payments. operations: - method: GET name: listcorporatepayments description: Montran List corporate payments call: corporate-payments-portal-payments.listcorporatepayments with: status: rest.status paymentType: rest.paymentType bankId: rest.bankId currency: rest.currency fromDate: rest.fromDate toDate: rest.toDate page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: createcorporatepayment description: Montran Create a corporate payment call: corporate-payments-portal-payments.createcorporatepayment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/payments/{paymentid} name: payments-paymentid description: REST surface for payments-paymentId. operations: - method: GET name: getcorporatepayment description: Montran Get payment details call: corporate-payments-portal-payments.getcorporatepayment outputParameters: - type: object mapping: $. - type: mcp namespace: corporate-payments-portal-payments-mcp port: 9090 transport: http description: MCP adapter for Montran Corporate Payments Portal API — Payments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: montran-list-corporate-payments description: Montran List corporate payments hints: readOnly: true destructive: false idempotent: true call: corporate-payments-portal-payments.listcorporatepayments with: status: tools.status paymentType: tools.paymentType bankId: tools.bankId currency: tools.currency fromDate: tools.fromDate toDate: tools.toDate page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: montran-create-corporate-payment description: Montran Create a corporate payment hints: readOnly: false destructive: false idempotent: false call: corporate-payments-portal-payments.createcorporatepayment with: body: tools.body outputParameters: - type: object mapping: $. - name: montran-get-payment-details description: Montran Get payment details hints: readOnly: true destructive: false idempotent: true call: corporate-payments-portal-payments.getcorporatepayment outputParameters: - type: object mapping: $.