Create a contractor payment
POST {{baseUrl}}/v1/companies/:company_id/contractor_payments
Pay a contractor. Information needed depends on the contractor's wage type (hourly vs fixed)
scope: payrolls:run
Request Body
{"contractor_uuid"=>"<string>", "date"=>"<date>", "payment_method"=>"Direct Deposit", "wage"=>"<number>", "hours"=>"<number>", "bonus"=>"<number>", "reimbursement"=>"<number>"}
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
{"uuid":"04552eb9-7829-4b18-ae96-6983552948df","contractor_uuid":"bc57832c-d8bc-43a7-ae99-3a03380ff037","bonus":"20.0","date":"2020-10-19","hours":"40.0","payment_method":"Direct Deposit","reimbursement":"100.0","status":"Unfunded","hourly_rate":"18.0","may_cancel":true,"wage":"0.0","wage_type":"Hourly","wage_total":"740.00"}