naftiko: 1.0.0-alpha2 info: label: Moov API — Refunds description: 'Moov API — Refunds. 3 operations. Lead operation: Create a refund. Self-contained Naftiko capability covering one Moov business surface.' tags: - Moov - Refunds created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MOOV_API_KEY: MOOV_API_KEY capability: consumes: - type: http namespace: moov-refunds baseUri: https://api.moov.io description: Moov API — Refunds business capability. Self-contained, no shared references. resources: - name: accounts-accountID-transfers-transferID-refunds path: /accounts/{accountID}/transfers/{transferID}/refunds operations: - name: createrefund method: POST description: Create a refund outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listrefunds method: GET description: List refunds outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-accountID-transfers-transferID-refunds-refundID path: /accounts/{accountID}/transfers/{transferID}/refunds/{refundID} operations: - name: getrefund method: GET description: Retrieve a refund outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MOOV_API_KEY}}' exposes: - type: rest namespace: moov-refunds-rest port: 8080 description: REST adapter for Moov API — Refunds. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{accountid}/transfers/{transferid}/refunds name: accounts-accountid-transfers-transferid-refunds description: REST surface for accounts-accountID-transfers-transferID-refunds. operations: - method: POST name: createrefund description: Create a refund call: moov-refunds.createrefund with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listrefunds description: List refunds call: moov-refunds.listrefunds outputParameters: - type: object mapping: $. - path: /v1/accounts/{accountid}/transfers/{transferid}/refunds/{refundid} name: accounts-accountid-transfers-transferid-refunds-refundid description: REST surface for accounts-accountID-transfers-transferID-refunds-refundID. operations: - method: GET name: getrefund description: Retrieve a refund call: moov-refunds.getrefund outputParameters: - type: object mapping: $. - type: mcp namespace: moov-refunds-mcp port: 9090 transport: http description: MCP adapter for Moov API — Refunds. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-refund description: Create a refund hints: readOnly: false destructive: false idempotent: false call: moov-refunds.createrefund with: body: tools.body outputParameters: - type: object mapping: $. - name: list-refunds description: List refunds hints: readOnly: true destructive: false idempotent: true call: moov-refunds.listrefunds outputParameters: - type: object mapping: $. - name: retrieve-refund description: Retrieve a refund hints: readOnly: true destructive: false idempotent: true call: moov-refunds.getrefund outputParameters: - type: object mapping: $.