GuidesAPI ReferenceChangelogAPI PolicyAPI StatusGusto Security
API Reference
v2023-09-01 is in the deprecation process and all prior versions have been deprecated. Click this banner to review our version upgrade guide.

Create a contractor payment group

Pay a group of contractors. Information needed depends on the contractor's wage type (hourly vs fixed)

scope: payrolls:run

Path Params
string
required

The UUID of the company

Body Params
date
required

The payment check date

string

Optional token used to make contractor payment group creation idempotent. If provided, string must be unique for each group you intend to create.

contractor_payments
array of objects
required
contractor_payments*
Headers
string
Defaults to 2024-04-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Responses

Response body
object
string

The unique identifier of the contractor payment group.

string

The UUID of the company.

string

The check date of the contractor payment group.

string

The debit date of the contractor payment group.

string

The status of the contractor payment group. Will be Funded if all payments that should be funded (i.e. have Direct Deposit for payment method) are funded. A group can have status Funded while having associated payments that have status Unfunded, i.e. payment with Check payment method.

Unfunded Funded

string | null

Token used to make contractor payment group creation idempotent. Will error if attempting to create a group with a duplicate token.

totals
object
string

The total amount for the group of contractor payments.

string

The total debit amount for the group of contractor payments. Sum of wage & reimbursement amount.

string

The total wage amount for the group of contractor payments.

string

The total reimbursement amount for the group of contractor payments.

contractor_payments
array of objects
contractor_payments
object
string

The unique identifier of the contractor payment in Gusto.

string

The UUID of the contractor.

string

The bonus amount in the payment.

string

The number of hours worked for the payment.

string

The payment method.

Direct Deposit Check Historical Payment Correction Payment

string

The reimbursement amount in the payment.

string

The status of the contractor payment. Will transition to Funded during payments processing if the payment should be funded, i.e. has Direct Deposit for payment method. Contractors payments with Check payment method will remain Unfunded.

Funded Unfunded

string

The rate per hour worked for the payment.

boolean

Determine if the contractor payment can be cancelled.

string

The fixed wage of the payment, regardless of hours worked.

string

The wage type for the payment.

Hourly Fixed

string

(hours * hourly_rate) + wage + bonus

404

Not Found

The requested resource does not exist. Make sure the provided UUID is valid.

invalid_attribute_value, or the request fails due to an invalid_operation. See the Errors Categories guide for more details.

Language
Credentials