Skip to content
Docs

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

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/runs/run_3m9q0dXbA \
-H "Authorization: Bearer $PAIE_API_KEY"
Answer
{
"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"
}
}
}