Skip to navigation

List Single Staff Salary Payments

Lists the salary payments recorded for one staff member between two dates, newest date first. The dates filter by the day paid. Deleted entries and failed online payouts are left out. Needs Payroll on your plan.

  • salarybox_id, start_date and end_date are required. Both dates are inclusive, YYYY-MM-DD, the range is at most 366 days and end_date must be on or after start_date.
  • results are the same objects that POST /payroll/payment returns in data.
  • Use this to check whether an entry is already recorded before sending POST /payroll/payment again.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

salarybox_idstringRequired
SalaryBox ID of an active staff member.
start_datedateRequired

First day to include, YYYY-MM-DD.

end_datedateRequired

Last day to include, YYYY-MM-DD. On or after start_date, at most 366 days after it.

pageintegerOptional
Page number to fetch. Defaults to 1.
page_sizeintegerOptional

Number of results per page (max 500). Defaults to 500.

Response

The salary payments in the range.
messagestringOptional
statusbooleanOptional
datalist of objectsOptional
countintegerOptional
prevstring or nullOptional
nextstring or nullOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error