List pay runs
/v1/payrolls/{payrollId}/runsA payroll's pay runs, newest first, each with its totals. Filter by the year paid or by status.
Path
Its id, like pyr_51ka7cQ0ZtLm.
Query
How many to answer, 1 to 100. 50 when left out.
The nextCursor of the page before.
Only runs paid in this year.
Only runs with this status.
One of entry, calculated, finalized, closed.
Answer
Show 10 fields
Starts "run_".
One of scheduled, off_cycle. Read any other value as "other".
A special run's own name.
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".
YYYY-MM-DD.
YYYY-MM-DD.
YYYY-MM-DD.
ISO 8601, when it was paid.
Show 6 fields
An amount of money.
An amount of money.
An amount of money.
An amount of money.
An amount of money.
Send as cursor for the next page. Null on the last.
Refusals
400 | bad_request | The request isn't right: the message says which part. |
401 | unauthorized | No key, a key Paie doesn't know, or one that was revoked. |
403 | forbidden | The key can't do this (its areas), or the workspace isn't in the API beta. |
403 | plan_required | The workspace's plan has no API, or, for a change, none that changes things (Scale). |
404 | not_found | Not there, or not a company this key reaches. The two read the same. |
429 | rate_limited | Over the key's calls a minute, or the workspace's calls a day: wait the seconds Retry-After says. |
500 | server_error | Something went wrong at Paie. Send support the requestId. |
curl https://api.paieday.com/v1/payrolls/pyr_51ka7cQ0ZtLm/runs \ -H "Authorization: Bearer $PAIE_API_KEY"const res = await fetch("https://api.paieday.com/v1/payrolls/pyr_51ka7cQ0ZtLm/runs", { headers: { Authorization: `Bearer ${process.env.PAIE_API_KEY}` },});const body = await res.json();import os, requests
res = requests.get( "https://api.paieday.com/v1/payrolls/pyr_51ka7cQ0ZtLm/runs", headers={"Authorization": f"Bearer {os.environ['PAIE_API_KEY']}"},)body = res.json(){ "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}{ "error": { "code": "bad_request", "message": "The request isn't right: the message says which part.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}{ "error": { "code": "unauthorized", "message": "No key, a key Paie doesn't know, or one that was revoked.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}{ "error": { "code": "forbidden", "message": "The key can't do this (its areas), or the workspace isn't in the API beta.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}{ "error": { "code": "not_found", "message": "Not there, or not a company this key reaches. The two read the same.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}{ "error": { "code": "rate_limited", "message": "Over the key's calls a minute, or the workspace's calls a day: wait the seconds Retry-After says.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}{ "error": { "code": "server_error", "message": "Something went wrong at Paie. Send support the requestId.", "requestId": "req_3fVq9xY0bLm2pQ7a" }}