Payruns
List all the pay runs that occurred during the respective period.
Supported integrations:
- brain payroll
- brightpay connect
- deel
- gusto
- justworks
- moorepay
- onpay
- oyster
- parolla.ie
- paycircle
- payfit
- pento.io
- quickbooks online
- remote.com
- sageone
- shape payroll
- simplepay.ie
- staffology
- xero uk
Query parameters
-
The start date of the search period
-
The end date of the search period
GET /2023-03-01/xhr/payruns
curl \
-X GET https://api.affixapi.com/2023-03-01/xhr/payruns?start_date=2021-01-01&end_date=2021-12-31 \
-H "Authorization: $API_KEY"
Response examples (200)
[
{
"id": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
"remote_id": "19202938",
"state": "paid",
"type": "regular",
"start_date": "2020-01-01",
"end_date": "2020-01-31",
"payment_date": "2020-01-27"
}
]
Response examples (202)
# Headers
Retry-After: 42
# Payload
{
"message": "string"
}
Response examples (401)
{
"error": "authentication_error",
"message": "Your password is incorrect",
"code": "incorrect_username_or_password"
}
Response examples (429)
# Headers
Retry-After: 42
# Payload
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}
Response examples (501)
{
"message": "string"
}