naftiko: 1.0.0-alpha2 info: label: Workday Financials Workday Cash Management API — Payments description: 'Workday Financials Workday Cash Management API — Payments. 2 operations. Lead operation: Workday Financials List payments. Self-contained Naftiko capability covering one Workday Financials business surface.' tags: - Workday Financials - Payments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_FINANCIALS_API_KEY: WORKDAY_FINANCIALS_API_KEY capability: consumes: - type: http namespace: cash-management-payments baseUri: https://{tenant}.workday.com/api/cashManagement/v38.2 description: Workday Financials Workday Cash Management API — Payments business capability. Self-contained, no shared references. resources: - name: payments path: /payments operations: - name: listpayments method: GET description: Workday Financials List payments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by payment status - name: payments-id path: /payments/{id} operations: - name: getpayment method: GET description: Workday Financials Get a payment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_FINANCIALS_API_KEY}}' exposes: - type: rest namespace: cash-management-payments-rest port: 8080 description: REST adapter for Workday Financials Workday Cash Management 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: listpayments description: Workday Financials List payments call: cash-management-payments.listpayments with: status: rest.status outputParameters: - type: object mapping: $. - path: /v1/payments/{id} name: payments-id description: REST surface for payments-id. operations: - method: GET name: getpayment description: Workday Financials Get a payment call: cash-management-payments.getpayment outputParameters: - type: object mapping: $. - type: mcp namespace: cash-management-payments-mcp port: 9090 transport: http description: MCP adapter for Workday Financials Workday Cash Management API — Payments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-financials-list-payments description: Workday Financials List payments hints: readOnly: true destructive: false idempotent: true call: cash-management-payments.listpayments with: status: tools.status outputParameters: - type: object mapping: $. - name: workday-financials-get-payment description: Workday Financials Get a payment hints: readOnly: true destructive: false idempotent: true call: cash-management-payments.getpayment outputParameters: - type: object mapping: $.