workerInformation
Retrieve bank accounts
Changed onReturns the bank accounts of a worker across all Global Payroll contracts of that worker that have not been terminated. Use it when you start from the worker rather than a specific contract; to see the accounts of one contract only, use GET /gp/contracts/{contract_id}/banks instead.
Token scopes: people:read
get/gp/workers/{worker_id}/banks
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
worker_id, string required
Unique identifier for a worker.
Response
Successful operation.
Worker Information Get GPWorker Banks Response200 required
data, Gp Workers Worker Id Banks Get Responses Content Application Json Schema Data Items[] required
Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
errorsfrom the response with the status - warning
removed the optional property
requestfrom the response with the status
- breaking