Skip to navigation

List Single Staff Other Payments

Lists the other payment entries recorded for one staff member between two dates, newest date first. Deleted entries 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/other-payment returns in data.
  • Use this to check whether an entry is already recorded before sending POST /payroll/other-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 other payment entries 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