POST
/
v1
/
companies
/
{company_id}
/
plans

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

company_id
string
required

Body

application/json
name
string
charge_amount
integer
required
charge_denomination
string
required
billing_period
string
required
rollover
boolean

Should all existing balances be cleared when a new billing period starts?

threshold_alert_percentage
integer

Causes a webhook to be sent when any of the balances drops below the given percentage

balances
object[]