Sets the compensations for an employee on the specified effective date. Other compensations will end at the effective date. That means, if you would like to add a compensation, you also have to include the compensations that you would like to keep.

Requires the permission "Manage payroll".

  "employee_id": "3bdhemmSP1TPQDGWtRveRot9",
  "effective_date": "2022-12-01",
  "compensations": [
      "amount": 4500,
      "currency": "EUR",
      "period": "MONTH"
Click Try It! to start a request and see the response here!