naftiko: 1.0.0-alpha2 info: label: Ramp Developer API — Transactions description: 'Ramp Developer API — Transactions. 2 operations. Lead operation: List transactions. Self-contained Naftiko capability covering one Ramp business surface.' tags: - Ramp - Transactions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAMP_API_KEY: RAMP_API_KEY capability: consumes: - type: http namespace: developer-transactions baseUri: https://api.ramp.com/developer/v1 description: Ramp Developer API — Transactions business capability. Self-contained, no shared references. resources: - name: transactions path: /transactions operations: - name: listtransactions method: GET description: List transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: from_date in: query type: string - name: to_date in: query type: string - name: transactions-id path: /transactions/{id} operations: - name: gettransaction method: GET description: Retrieve a transaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: bearer token: '{{env.RAMP_API_KEY}}' exposes: - type: rest namespace: developer-transactions-rest port: 8080 description: REST adapter for Ramp Developer API — Transactions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/transactions name: transactions description: REST surface for transactions. operations: - method: GET name: listtransactions description: List transactions call: developer-transactions.listtransactions with: from_date: rest.from_date to_date: rest.to_date outputParameters: - type: object mapping: $. - path: /v1/transactions/{id} name: transactions-id description: REST surface for transactions-id. operations: - method: GET name: gettransaction description: Retrieve a transaction call: developer-transactions.gettransaction with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: developer-transactions-mcp port: 9090 transport: http description: MCP adapter for Ramp Developer API — Transactions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-transactions description: List transactions hints: readOnly: true destructive: false idempotent: true call: developer-transactions.listtransactions with: from_date: tools.from_date to_date: tools.to_date outputParameters: - type: object mapping: $. - name: retrieve-transaction description: Retrieve a transaction hints: readOnly: true destructive: false idempotent: true call: developer-transactions.gettransaction with: id: tools.id outputParameters: - type: object mapping: $.