Collaborator
List all collaborator's payslips π
Changed onReturns all the payslips of a collaborator by ID.
Required scopes: contracts:payslips:read
get/companies/{companyId}/collaborators/{collaboratorId}/payslips
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/tokenScopescontracts:payslips:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
collaboratorIdstring uuid required
The id of collaborator to fetch payslips
Response
All the payslips of the collaborator
Changes
- breaking
for the
pathrequest parametercollaboratorId, the format changed from no format touuid
- breaking