LogoLogo
  • Piriod API
  • Getting started
  • Integrations flows
  • Authentication
  • Error Handling
  • Pagination and Filtering
  • Core Resources
    • Customers
      • Create a customer
      • List customers
    • Contacts
    • Reminders
  • Billing
    • Products
    • Plans
    • Addons
    • Coupons
    • Subscriptions
    • Usages
    • Invoices
    • Credit Notes
    • Orders
  • Payments
    • Sources
    • Payments
  • Apps
    • Customer Base
      • Sessions
  • Collections
    • Documents
    • Currencies
    • Countries
    • States
Powered by GitBook
On this page

Was this helpful?

  1. Billing

Addons

Create an addon

POST https://api.piriod.com/addons/

Creates a new Addon object.

Request Body

Name
Type
Description

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.

PreviousPlansNextCoupons

Last updated 4 years ago

Was this helpful?