Addons
Create an addon
POST
https://api.piriod.com/addons/
Creates a new Addon object.
Request Body
amount
number
A positive number representing the amount of the add-on.
apply_scheme
string
Can be recurring
ir 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. Default is one_time
.
currency
string
Three-letter ISO code for the currency of the add-on.
description
string
A description for the add-on. This is used to show to your customer the billing reason.
duration_times
integer
A number representing a duration of add-on to apply_scheme=recurring.
name
string
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.
sku
string
A simple identifier for the add-on with a 32 characters as max length.
Last updated