Get a pay run
GET
/v1/runs/{runId}One pay run: its period, pay date, status and totals. Only finalized and closed runs are paid; an open run's figures can still change.
Path
runIdstringrequired
Its id, like run_3m9q0dXbA.
Answer
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.
Refusals
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/runs/run_3m9q0dXbA \ -H "Authorization: Bearer $PAIE_API_KEY"const res = await fetch("https://api.paieday.com/v1/runs/run_3m9q0dXbA", { headers: { Authorization: `Bearer ${process.env.PAIE_API_KEY}` },});const body = await res.json();import os, requests
res = requests.get( "https://api.paieday.com/v1/runs/run_3m9q0dXbA", headers={"Authorization": f"Bearer {os.environ['PAIE_API_KEY']}"},)body = res.json(){ "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" } }}{ "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" }}