Create a cash setting
POST/v1/cash-settings
Creates a cash setting and returns it. Send cashTargetAbsolute for an absolute cash target, or cashTargetPercent for a percent one. To use the cash setting for accounts, call Assign a cash setting to accounts.
Request
Responses
- 201
- 400
- 401
- 403
- 429
The cash setting you created.
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.
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.