List Single Staff Loan Repayments
Lists the loan repayment 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_dateandend_dateare required. Both dates are inclusive,YYYY-MM-DD, the range is at most 366 days andend_datemust be on or afterstart_date.resultsare the same objects thatPOST /payroll/loan/repaymentreturns indata.- Use this to check whether an entry is already recorded before sending
POST /payroll/loan/repaymentagain.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Query parameters
salarybox_id
SalaryBox ID of an active staff member.
start_date
First day to include, YYYY-MM-DD.
end_date
Last day to include, YYYY-MM-DD. On or after start_date, at most 366 days after it.
page
Page number to fetch. Defaults to 1.
page_size
Number of results per page (max 500). Defaults to 500.
Response
The loan repayment entries in the range.
message
status
data
count
prev
next
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
