Create a fee structure
POST/v1/billing/fee-structures
Creates a fee structure. Send feeValue for a Flat Rate, Flat Account Fee or Flat Group Fee fee structure, and tiers for a Drop Through or Tiered one. tiers is required: send [] for a calculation type that uses no tiers.
Request
Responses
- 201
- 400
- 401
- 403
- 429
The fee structure you created.
The request body is invalid, for example name is missing, calculationType is not one of the listed values, or a tier has no feeRate.
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.