Creating Add-ons/Discounts
Add-ons and discounts are created in the Control Panel. You cannot create or update them through the API.
When creating an add-on or discount you can specify:
- id
- name
- description
- amount (must be a number between 1 and 9999.99)
- duration
Add-ons and discounts can be associated with a plan. When creating a subscription, it will automatically inherit the add-ons and discounts associated with the plan. You can override those details at the time you create or update the subscription.