Changes a batch's name, reference ID, default category, payout rules, or archived state.
Requires the Write permission. Send only the fields to change. taxJurisdiction cannot be changed.
Archiving. An archived batch refuses new payments, submissions and any other change. To change it again, first send
{"archived": false}. A payment that comes back (RETURNED) unarchives its batch automatically.
Side effects. name, archived, allowedPaymentMethods and deniedCountries are copied to the batch's payments in the
background; see deniedCountries for the effect on payments not yet sent. With updateExistingPayments: true, a new
defaultPaymentCategory is applied to the batch's DRAFT payments. The batch-changed webhook fires.
Errors
400 VALIDATION_ERROR: a field is invalid, or the body has a field that cannot be changed, such astaxJurisdiction.404 NOT_FOUND: the batch does not exist.423 NOT_EDITABLE: the batch is archived and the body does not setarchivedtofalse.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204The operation succeeded. The response has no body.
