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

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;version&quot;:&quot;63859768485e218ccf8a449bb60f14ed&quot;,&quot;type&quot;:&quot;Direct Deposit&quot;,&quot;split_by&quot;:&quot;Amount&quot;,&quot;splits&quot;:[{&quot;uuid&quot;:&quot;e88f9436-b74e-49a8-87e9-777b9bfe715e&quot;,&quot;name&quot;:&quot;BoA Checking Account&quot;,&quot;priority&quot;:1,&quot;split_amount&quot;:500},{&quot;uuid&quot;:&quot;0d2b7f73-05d6-4184-911d-269edeecc30a&quot;,&quot;name&quot;:&quot;Chase Checking Account&quot;,&quot;priority&quot;:2,&quot;split_amount&quot;:1000},{&quot;uuid&quot;:&quot;1531e824-8d9e-4bd8-9f90-0d04608125d7&quot;,&quot;name&quot;:&quot;US Bank Checking Account&quot;,&quot;priority&quot;:3,&quot;split_amount&quot;:null}]}