naftiko: 1.0.0-alpha2 info: label: TSYS Payment Gateway — Inquiries description: 'TSYS Payment Gateway — Inquiries. 2 operations. Lead operation: List Transactions. Self-contained Naftiko capability covering one Total System Services business surface.' tags: - Total System Services - Inquiries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOTAL_SYSTEM_SERVICES_API_KEY: TOTAL_SYSTEM_SERVICES_API_KEY capability: consumes: - type: http namespace: tsys-payment-gateway-inquiries baseUri: https://api.tsys.com/v1 description: TSYS Payment Gateway — Inquiries 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: startDate in: query type: string description: Filter transactions from this date - name: endDate in: query type: string description: Filter transactions through this date - name: status in: query type: string description: Filter by transaction status - name: cardType in: query type: string description: Filter by card type - name: page in: query type: integer - name: limit in: query type: integer - name: transactions-transactionId path: /transactions/{transactionId} operations: - name: gettransaction method: GET description: Get Transaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionId in: path type: string description: Transaction identifier required: true authentication: type: apikey key: X-TSYS-API-Key value: '{{env.TOTAL_SYSTEM_SERVICES_API_KEY}}' placement: header exposes: - type: rest namespace: tsys-payment-gateway-inquiries-rest port: 8080 description: REST adapter for TSYS Payment Gateway — Inquiries. 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: tsys-payment-gateway-inquiries.listtransactions with: startDate: rest.startDate endDate: rest.endDate status: rest.status cardType: rest.cardType page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/transactions/{transactionid} name: transactions-transactionid description: REST surface for transactions-transactionId. operations: - method: GET name: gettransaction description: Get Transaction call: tsys-payment-gateway-inquiries.gettransaction with: transactionId: rest.transactionId outputParameters: - type: object mapping: $. - type: mcp namespace: tsys-payment-gateway-inquiries-mcp port: 9090 transport: http description: MCP adapter for TSYS Payment Gateway — Inquiries. 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: tsys-payment-gateway-inquiries.listtransactions with: startDate: tools.startDate endDate: tools.endDate status: tools.status cardType: tools.cardType page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-transaction description: Get Transaction hints: readOnly: true destructive: false idempotent: true call: tsys-payment-gateway-inquiries.gettransaction with: transactionId: tools.transactionId outputParameters: - type: object mapping: $.