Create single adjustments
Changed onUp to 100 one-off amounts — a bonus, a service charge, a penalty — each for one person and one day. All or nothing: a 422 means none of the batch landed.
An adjustment is read when a payslip is calculated. A draft payslip whose period holds date takes it in on its next calculation. An approved or paid one does not: it is recalculated only by hand in the web application, and nothing here tells you whether that happened. Check the payslip's status for the month before filing into it.
Send an Idempotency-Key. An adjustment carries no key of yours, so a retry after a timeout files it a second time unless the header says it is the same attempt. The answer lists what was created, in the order sent.
Request
- Base URL: https://api.clockster.com
- URL: https://api.clockster.com/company/v3/payroll/single-adjustments
- Auth: HTTP bearer
Headers
A value you choose, unique per attempt. Send the same one when retrying and the first answer is replayed instead of the write happening twice. Optional, and only on the writes that carry no key of your own.
Request body
Response
Created
Changes
- info
the endpoint scheme security
companyTokenwas added to the API
- info
- info
endpoint added
- info