Skip to content
Docs

Change pay from a date

POST/v1/employees/{employeeId}/pay-changes

Sets a new salary or hourly rate from a date, as Change pay does. Paie pays each run by the days on each side of the date.

Path

employeeIdstringrequired

Its id, like emp_8f2k1xH3vNpa.

Headers

Idempotency-Keystringrequired

A key you make for this change, like a UUID, up to 255 characters. Send the same key when you retry it: Paie answers what it answered the first time, for 24 hours, and does nothing again.

Body

startsOndaterequired

The first day paid at the new pay.

perPeriodstring

Their new basic pay a period, for someone on a salary.

perHourstring

Their new pay an hour, for someone paid by the hour.

standardHoursinteger

Their standard hours a period. Left out, they stay as they are.

Answer

employeeIdstring
startsOndate

YYYY-MM-DD.

salariedboolean
perPeriodmoney or null

An amount of money.

perHourmoney or null

An amount of money.

standardHoursinteger or null

Refusals

400bad_requestThe request isn't right: the message says which part.
401unauthorizedNo key, a key Paie doesn't know, or one that was revoked.
403forbiddenThe key can't do this (its areas), or the workspace isn't in the API beta.
403plan_requiredThe workspace's plan has no API, or, for a change, none that changes things (Scale).
404not_foundNot there, or not a company this key reaches. The two read the same.
409run_not_openThe run is paid or closed, so it can't change. Send to the next open run.
409idempotency_mismatchThis Idempotency-Key was sent before with a different request. Use a new key for a new request.
409in_progressA call with this Idempotency-Key is still running. Try again in a moment.
429rate_limitedOver the key's calls a minute, or the workspace's calls a day: wait the seconds Retry-After says.
500server_errorSomething went wrong at Paie. Send support the requestId.
Terminal window
curl -X POST https://api.paieday.com/v1/employees/emp_8f2k1xH3vNpa/pay-changes \
-H "Authorization: Bearer $PAIE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"startsOn": "2026-11-16",
"perPeriod": "195000.00",
"standardHours": 80
}'
Answer
{
"employeeId": "emp_8f2k1xH3vNpa",
"startsOn": "2026-11-16",
"salaried": true,
"perPeriod": {
"amount": "184250.00",
"currency": "JMD"
},
"perHour": null,
"standardHours": 80
}