Skip to content
Docs

List pay runs

GET/v1/payrolls/{payrollId}/runs

A payroll's pay runs, newest first, each with its totals. Filter by the year paid or by status.

Path

payrollIdstringrequired

Its id, like pyr_51ka7cQ0ZtLm.

Query

limitinteger

How many to answer, 1 to 100. 50 when left out.

cursorstring

The nextCursor of the page before.

yearinteger

Only runs paid in this year.

statusstring

Only runs with this status.

One of entry, calculated, finalized, closed.

Answer

dataarray of object
Show 10 fields
idstring

Starts "run_".

payrollIdstring
kindstring

One of scheduled, off_cycle. Read any other value as "other".

namestring or null

A special run's own name.

statusstring

entry and calculated are still open, and their figures can change. finalized and closed are paid.

One of entry, calculated, finalized, closed. Read any other value as "other".

periodStartdate

YYYY-MM-DD.

periodEnddate

YYYY-MM-DD.

payDatedate

YYYY-MM-DD.

finalizedAtstring or null

ISO 8601, when it was paid.

totalsobject
Show 6 fields
employeesinteger
grossPaymoney

An amount of money.

employeeDeductionsmoney

An amount of money.

netPaymoney

An amount of money.

takeHomePaymoney

An amount of money.

employerContributionsmoney

An amount of money.

nextCursorstring or null

Send as cursor for the next page. Null on the last.

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.
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 https://api.paieday.com/v1/payrolls/pyr_51ka7cQ0ZtLm/runs \
-H "Authorization: Bearer $PAIE_API_KEY"
Answer
{
"data": [
{
"id": "run_3m9q0dXbA",
"payrollId": "pyr_51ka7cQ0ZtLm",
"kind": "scheduled",
"name": null,
"status": "finalized",
"periodStart": "2026-10-25",
"periodEnd": "2026-10-25",
"payDate": "2026-10-25",
"finalizedAt": "2026-10-24T15:02:11.000Z",
"totals": {
"employees": 38,
"grossPay": {
"amount": "184250.00",
"currency": "JMD"
},
"employeeDeductions": {
"amount": "184250.00",
"currency": "JMD"
},
"netPay": {
"amount": "184250.00",
"currency": "JMD"
},
"takeHomePay": {
"amount": "184250.00",
"currency": "JMD"
},
"employerContributions": {
"amount": "184250.00",
"currency": "JMD"
}
}
}
],
"nextCursor": null
}