Skip to main content
GET
List payrolls

Authorizations

Authorization
string
header
required

Your secret API key, sent as Authorization: Bearer hmk_test_....

Headers

Hammock-Version
string

The API version to use for this request. Defaults to the version pinned to your API key.

Query Parameters

employer
string
required

ID of the employer.

status
enum<string>

reported: received, and voidable until voidable_until. funding: the ACH pull has started. completed: the pull settled and contributions are in employees' accounts. voided: you voided it. failed: the pull was returned by the employer's bank.

Available options:
reported,
funding,
completed,
voided,
failed
external_id
string

Return the payroll with this external ID.

pay_date
string<date>
limit
integer
default:10

How many objects to return, from 1 to 100.

Required range: 1 <= x <= 100
starting_after
string

An object ID. Returns the page that follows this object.

ending_before
string

An object ID. Returns the page that precedes this object.

Response

A list of payrolls.

object
string
required
Allowed value: "list"
data
object[]
required
has_more
boolean
required

Whether more objects follow this page.

url
string
required

The path of this list.

Example:

"/payrolls"