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.

Submit payroll

Submits an unprocessed payroll to be calculated and run. This submission is asynchronous and a successful request responds with a 202 HTTP status. Upon success, transitions the payroll to the processed state.

You should poll to ensure that payroll is processed successfully, as async errors only occur after async processing is complete.

If the company is blocked from running payroll due to issues like incomplete setup, missing information or other compliance issues, the response will be 422 Unprocessable Entity with a categorization of the blockers as described in the error responses.

scope: payrolls:run

Path Params
string
required

The UUID of the company

string
required

The UUID of the payroll

Body Params
submission_blockers
array of objects

An array of submission_blockers, each with a selected unblock option.

submission_blockers
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
202

Accepted

404

Not Found

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

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json