naftiko: 1.0.0-alpha2 info: label: Wise Platform API — rate description: 'Wise Platform API — rate. 1 operations. Lead operation: Retrieve current rates. Self-contained Naftiko capability covering one Wise business surface.' tags: - Wise - rate created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WISE_API_KEY: WISE_API_KEY capability: consumes: - type: http namespace: platform-rate baseUri: https://api.wise.com description: Wise Platform API — rate business capability. Self-contained, no shared references. resources: - name: v1-rates path: /v1/rates operations: - name: rateget method: GET description: Retrieve current rates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: source in: query type: string description: Source (send) currency code. - name: target in: query type: string description: Target (receive) currency code. - name: time in: query type: string description: Timestamp to get historic exchange rate.
Supports only Timestamp (combined date and time). Timezone offset is supported but optional.
Supported examples - name: from in: query type: string description: 'Period start date/time to get exchange rate history.
Supports Timestamp (combined date and time) or Date (date only).
Supported examples: `2019-03-13T14' - name: to in: query type: string description: Period end date/time to get exchange rate history.
Supports Timestamp (combined date and time) or Date (date only).
Timezone offset is supported but opt - name: group in: query type: string description: Interval for history grouping. authentication: type: bearer token: '{{env.WISE_API_KEY}}' exposes: - type: rest namespace: platform-rate-rest port: 8080 description: REST adapter for Wise Platform API — rate. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/rates name: v1-rates description: REST surface for v1-rates. operations: - method: GET name: rateget description: Retrieve current rates call: platform-rate.rateget with: source: rest.source target: rest.target time: rest.time from: rest.from to: rest.to group: rest.group outputParameters: - type: object mapping: $. - type: mcp namespace: platform-rate-mcp port: 9090 transport: http description: MCP adapter for Wise Platform API — rate. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-current-rates description: Retrieve current rates hints: readOnly: true destructive: false idempotent: true call: platform-rate.rateget with: source: tools.source target: tools.target time: tools.time from: tools.from to: tools.to group: tools.group outputParameters: - type: object mapping: $.