Payroll

Update salary or employee state

patch/api/v1/payroll/employees/{id}

Request

  • Base URL: https://api.xrpay.it
  • URL: https://api.xrpay.it/api/v1/payroll/employees/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring required

Stable key for one logical operation. Reusing a key with different parameters returns HTTP 409.

Request body

namestring
salarystring

An exact non-negative decimal amount. Never parse this as a binary floating-point number.

status'active' | 'inactive'

Response

Updated employee

Changes

No recorded changes to this operation across all 1 revision of this API.