Delete a cash setting
DELETE/v1/cash-settings/:id
Deletes the cash setting with the given ID. If accounts are assigned the cash setting, send newCashSettingId with the ID of another cash setting of your firm to assign them that one, or send it with no value (newCashSettingId=) to leave them with no cash setting; the change and the delete succeed or fail together. If you leave out newCashSettingId while an account, active or not, is assigned the cash setting, nothing is deleted. To see how many accounts are assigned it, call Get the number of accounts assigned a cash setting. Returns 200 with deleted: true. If your firm has no cash setting with the given ID, or none with the ID in newCashSettingId, the response is 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
Whether the cash setting was deleted.
id is not a whole number, newCashSettingId has a value that is not a whole number, or newCashSettingId is the same as id.
The access token is missing, invalid, or expired.
The access token does not have the write:billing scope.
Your firm has no cash setting with the ID in the path, or none with the ID in newCashSettingId.
newCashSettingId is left out, and an account is assigned the cash setting.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.