Payroll

List processed payrolls from the cached Gusto history

Processed payrolls with aggregate totals, newest check date first. Read-only; synthetic demo/training companies can include explicitly labeled sample payroll without a provider connection. Served from the org's payroll snapshot cache (synced via POST /payroll/sync) — no per-request Gusto call. Scoped to the authorized organization; on the firm's own books, payroll data is restricted to the firm owner.

get/payroll/history

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/payroll/history
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Query parameters

startDatestring date

Optional start date (YYYY-MM-DD); defaults to 12 months before endDate.

endDatestring date

Optional end date (YYYY-MM-DD); defaults to today.

Response

{payrolls:[...]}

Changes

No recorded changes to this operation across all 5 revisions of this API.