Update an employee's payment method
PUT {{baseUrl}}/v1/employees/:employee_id/payment_method
Updates an employee's payment method. Note that creating an employee bank account will also update the employee's payment method.
scope: employee_payment_methods:write
Request Body
{"version"=>"<string>", "type"=>"<string>", "split_by"=>"<string>", "splits"=>[{"uuid"=>"<string>", "name"=>"<string>", "priority"=>"<integer>", "split_amount"=>"<integer>"}, {"uuid"=>"<string>", "name"=>"<string>", "priority"=>"<integer>", "split_amount"=>"<integer>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"version":"63859768485e218ccf8a449bb60f14ed","type":"Direct Deposit","split_by":"Amount","splits":[{"uuid":"e88f9436-b74e-49a8-87e9-777b9bfe715e","name":"BoA Checking Account","priority":1,"split_amount":500},{"uuid":"0d2b7f73-05d6-4184-911d-269edeecc30a","name":"Chase Checking Account","priority":2,"split_amount":1000},{"uuid":"1531e824-8d9e-4bd8-9f90-0d04608125d7","name":"US Bank Checking Account","priority":3,"split_amount":null}]}