Update a correction

Updates an existing draft correction.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates a correction. Only description, settlement_date, bank_account, metadata, and simulation_mode may be updated. A correction updated webhook is sent.

settlement_date must be a banking day between the earliest date ACH can reach and 7 days from today. Changing it recalculates reopen_deadline.

Errors

  • correction_not_draft — the correction is not in draft.
  • settlement_date_invalid — settlement_date is not a banking day between the earliest date ACH can reach and 7 days from today, or the correction voids a processing payroll and the date is not at least one banking day after that payroll's debit is expected to clear its ACH return window. The error message gives the earliest date allowed.
  • bank_account_invalid — bank_account does not belong to the company or is not active.
  • validation_error — the body includes a field that cannot be updated, or a field is invalid. See input_errors for the field.
  • locked_resource_error (HTTP 409) — an approval is in progress for the correction.
Path Params
string
required

ID of the correction to update

Body Params
string

A human-readable description of the correction.

metadata
object

Arbitrary key-value data to attach to the correction.

date

The CFT settlement date for the correction's money movement. Must be a banking day between the earliest date ACH can reach and 7 days from today; any other date returns settlement_date_invalid, and approval checks the date again. Required before approval if the correction will debit or refund the employer. If no money moves, it can be left out and a date is set at approval. Changing it recalculates reopen_deadline.

string

Settable while the correction is in draft. ID of the bank account to debit or credit at fulfillment. Must belong to the correction's company. An explicit null re-stamps the company's current default bank account.

string
enum

Sandbox-only. Settable while the correction is in draft. One of automatic or manual. Omitted leaves the mode unchanged; null resets to the default (automatic). Returns a validation error in production.

Allowed:
Response

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