naftiko: 1.0.0-alpha2 info: label: Workday Payroll Input API — One-Time Payments description: 'Workday Payroll Input API — One-Time Payments. 5 operations. Lead operation: Workday Payroll List One-time Payments. Self-contained Naftiko capability covering one Workday Payroll business surface.' tags: - Workday Payroll - One-Time Payments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_PAYROLL_API_KEY: WORKDAY_PAYROLL_API_KEY capability: consumes: - type: http namespace: payroll-input-one-time-payments baseUri: https://api.workday.com/payroll-input/v1 description: Workday Payroll Input API — One-Time Payments business capability. Self-contained, no shared references. resources: - name: oneTimePayments path: /oneTimePayments operations: - name: listonetimepayments method: GET description: Workday Payroll List One-time Payments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workerId in: query type: string description: Filter by worker identifier - name: status in: query type: string description: Filter by status - name: createonetimepayment method: POST description: Workday Payroll Create a One-time Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: oneTimePayments-paymentId path: /oneTimePayments/{paymentId} operations: - name: getonetimepayment method: GET description: Workday Payroll Get a One-time Payment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateonetimepayment method: PATCH description: Workday Payroll Update a One-time Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteonetimepayment method: DELETE description: Workday Payroll Delete a One-time Payment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_PAYROLL_API_KEY}}' exposes: - type: rest namespace: payroll-input-one-time-payments-rest port: 8080 description: REST adapter for Workday Payroll Input API — One-Time Payments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/onetimepayments name: onetimepayments description: REST surface for oneTimePayments. operations: - method: GET name: listonetimepayments description: Workday Payroll List One-time Payments call: payroll-input-one-time-payments.listonetimepayments with: workerId: rest.workerId status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createonetimepayment description: Workday Payroll Create a One-time Payment call: payroll-input-one-time-payments.createonetimepayment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/onetimepayments/{paymentid} name: onetimepayments-paymentid description: REST surface for oneTimePayments-paymentId. operations: - method: GET name: getonetimepayment description: Workday Payroll Get a One-time Payment call: payroll-input-one-time-payments.getonetimepayment outputParameters: - type: object mapping: $. - method: PATCH name: updateonetimepayment description: Workday Payroll Update a One-time Payment call: payroll-input-one-time-payments.updateonetimepayment with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteonetimepayment description: Workday Payroll Delete a One-time Payment call: payroll-input-one-time-payments.deleteonetimepayment outputParameters: - type: object mapping: $. - type: mcp namespace: payroll-input-one-time-payments-mcp port: 9090 transport: http description: MCP adapter for Workday Payroll Input API — One-Time Payments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-payroll-list-one-time description: Workday Payroll List One-time Payments hints: readOnly: true destructive: false idempotent: true call: payroll-input-one-time-payments.listonetimepayments with: workerId: tools.workerId status: tools.status outputParameters: - type: object mapping: $. - name: workday-payroll-create-one-time description: Workday Payroll Create a One-time Payment hints: readOnly: false destructive: false idempotent: false call: payroll-input-one-time-payments.createonetimepayment with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-payroll-get-one-time description: Workday Payroll Get a One-time Payment hints: readOnly: true destructive: false idempotent: true call: payroll-input-one-time-payments.getonetimepayment outputParameters: - type: object mapping: $. - name: workday-payroll-update-one-time description: Workday Payroll Update a One-time Payment hints: readOnly: false destructive: false idempotent: true call: payroll-input-one-time-payments.updateonetimepayment with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-payroll-delete-one-time description: Workday Payroll Delete a One-time Payment hints: readOnly: false destructive: true idempotent: true call: payroll-input-one-time-payments.deleteonetimepayment outputParameters: - type: object mapping: $.