Update a cash setting
PUT/v1/cash-settings/:id
Replaces the cash setting with the given ID with the one in the request body. Send every required field, as for Create a cash setting. A dollar amount, percent or cash split you leave out is cleared. The accounts assigned the cash setting keep it. If your firm has no cash setting with that ID, the response is 404 and nothing changes.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
The cash setting you updated.
id is not a whole number, or the request body is invalid, for example name is missing, cashTargetType is not absolute or percent, a condition is not and or or, or a percent is not a number from 0 to 100.
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 that ID.
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.