Create a contractor payment group
POST {{baseUrl}}/v1/companies/:company_id/contractor_payment_groups
Pay a group of contractors. Information needed depends on the contractor's wage type (hourly vs fixed)
scope: payrolls:run
Request Body
{"check_date"=>"<date>", "contractor_payments"=>[{"contractor_uuid"=>"<string>", "payment_method"=>"Direct Deposit", "wage"=>"<number>", "hours"=>"<number>", "bonus"=>"<number>", "reimbursement"=>"<number>"}, {"contractor_uuid"=>"<string>", "payment_method"=>"Direct Deposit", "wage"=>"<number>", "hours"=>"<number>", "bonus"=>"<number>", "reimbursement"=>"<number>"}], "creation_token"=>"<string>"}
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":"f693e034-d833-46e3-88d4-2c820c383c57","company_uuid":"c54046f7-1be4-4c54-8194-f4842c30c86d","check_date":"2024-05-07","debit_date":"2024-05-01","status":"Unfunded","creation_token":"45ef81bb-ae24-4ad1-b2c6-6e563a4c30ed","contractor_payments":[{"uuid":"630dc982-f498-4ebc-a6dc-4d76711027ce","contractor_uuid":"2e6d0970-31bf-47ce-bdb4-713e4207ecf4","bonus":"0.0","hours":"40.0","hourly_rate":"18.0","may_cancel":false,"payment_method":"Direct Deposit","reimbursement":"75.0","status":"Unfunded","wage":"0.0","wage_type":"Hourly","wage_total":"720.0"},{"uuid":"12f51eba-d653-4357-8c05-1f1f8d0fd5e3","contractor_uuid":"a975fda0-fcf5-469a-a5fd-06e43d1cd99d","bonus":"0.0","hours":"0.0","hourly_rate":"0.0","may_cancel":false,"payment_method":"Check","reimbursement":"0.0","status":"Unfunded","wage":"1500.0","wage_type":"Fixed","wage_total":"1500.0"}],"totals":{"debit_amount":"2295.0","wage_amount":"2220.0","reimbursement_amount":"75.0"}}