API Reference

Create an addon

Creates a new Addon object.

Body Params
float
required

A positive number representing the amount of the add-on.

string
Defaults to one_time

Can be recurring or one_time. Recurring allow set a duration_times. One time is applied in the first subscription billing after add the add-on to a subscription and support prorate amount in multiple fees.

string
required

Three-letter ISO code for the currency of the add-on.

string
required

A description for the add-on. This is used to show to your customer the billing reason.

int32

A number representing a duration of add-on to apply_scheme=recurring.

string
required

A human identifier for the plan with a 56 characters as max length. This is used to help you to manage add-ons in your account.

string

A simple identifier for the add-on with a 32 characters as max length.

Response

Language
Credentials
Choose an example:
application/json