Price
A Price directly impacts the revenue generated by its sales. When setting theprice for a subscription, businesses must consider factors such as affordability, perceived value, and competitiveness in the market.
The Price also govern the term and period of the price. Prices are componentized by a price model and a consumption model. In addition, a Prices governed by a purchase type.
Plude is multi-currency by design. However whether you decide on using multi-currency per price, or an indivual price per currency is subject to your business model.
Term
In subscription businesses, the price always corresponds to a term and value. Therefore, aprice defines the term. Unlike a subscription term, a price term manages the billing period iteration.
To assign the term, specify the termUnit of either value day, week, month or year and an iterator of termCount.
Whether you bill once or recurring, a term must be applied.
Purchase type
- Recurring (recurring). A recurring purchase is advanding according to the term (
termCountoftermUnit) of thesubscriptionItem. - One time (one_time). A one time purchase is billed once whent the
subscriptionItem.billAtis due and then sets thesubscriptionItem.status = billed.
Price Models
Price objects support different price models for your products and services. Asprice and product are separated, you only need to define the type of price which may be applied with multiple products.
The following price models are supported.
- Fee (unit and fixed fee).
- Package with support for package quantities.
- Graduated to provide stair-case based pricing with free tiers.
- Volume allowing programmatic discount and/or free tiers.
Consumption models
Three consumption models are supported. Amount, Usage or Metered. Only one consumption perprice is supported.
| consumption model | valid for | description | proration |
|---|---|---|---|
| Amount | arrears, advance | Price is calculated by quantity of the subscriptionItem. Quantity is carried over to future periods. | yes |
| Usage | arrears, advance | Price is calculated by quantity of subscriptionItem. Unlike Amount, Usage will reset quantity to the minimum commitment. | yes |
| Metered | arrears only | Price is calculated by usageData. | no |
Properties of a price
| property | description | mandatory |
|---|---|---|
| name | An internal name of the price. | yes |
| priceModel | either fee, volume, graduated or package | yes |
| purchase | recurring or one_time | yes |
| method | arrears, advance or event | yes |
| termCount | Iterator of termUnit in number. Ex. 7 of termUnit.day will be a week. | yes |
| termUnit | Either day, week, month or year. | yes |
Creating a price
To create aprice use the following snippet:

