Plans
Standard Plan Object
Standard Plans can only be created on the dashboard or by using a Service Account. See below for more info and the Blueprint Subscribe! for more details about how Plans and Subscriptions can work.
Attribute | Type | Description |
|
| The plan type. Default is |
|
| 3 letter ISO currency code as defined by ISO 4217. |
|
| The billing frequency. Choices: |
|
| The name of the plan. |
|
| Human readable ID that identifies the order easily, e.g. |
|
| A short description of the plan. |
|
| Defines billing frequency. Choices: |
|
| List of items in the Plan. See description below. |
|
| Total number of items in the plan. |
|
| The amount to be charged on the interval specified. If missing, this will be calculated as the sum of the |
|
| Decides the action taken if a payment fails in the |
|
| If |
|
| Initial setup fee or administrative fee, charged on creation of |
|
| Sets if a plan is allowed to charge a prorate amount, which value is defined in the |
|
| Allow to use a retry payment system. It means if the attempt to pay a Subscription fails then automatically BuiltOn will plan another payment later. Default is |
|
| Defines how many time BuiltOn will retry to pay a Subscription . Default is |
|
| Defines how many time BuiltOn has to wait to retry a payment. Default is |
Plan Items
The attribute items
in the Plan Object is where you put the Products
your user wants to buy. These items are stored in an array. Each item has the below attributes. See Updating Items in an Order for more details on how this is used.
Attributes | Type | Description |
|
| A |
|
| The quantity of the product. |
|
| The discount of the |
|
| An array of sub-product IDs associated in the plan. |
Admin Role
*Paths listed above and denoted with a star are accessible to both Users and Admins. Additional Admin Role paths are listed below.
Create a Standard Plan
Body Parameters | Type | Description |
|
| The frequency that the Subscription acts upon. Choices are |
|
| Defines billing frequency. Choices are |
|
| Three letter ISO currency code as defined by ISO 4217.7 |
|
| The name of the plan. |
|
| A short description of the plan. |
|
| List of items associated with the Plan. |
|
| A setup fee that will be paid at the beginning of the first payment cycle. Can't be less than 0. Default value is 0. |
|
| Defines whether the subscription payment is charged at the beginning or end of the billing cycle. Default value is |
|
| Sets if a Plan is allowed to charge a prorate amount, which value is defined in the Subscription. Default is |
|
| Total amount of plan if not calculated automatically from products/resources. |
|
| Allow to use a retry payment system. It means if the attempt to pay a Subscription fails then automatically BuiltOn will plan another payment later. Default is |
|
| Defines how many time BuiltOn will retry to pay a Subscription . Default is |
|
| Defines how many time BuiltOn has to wait to retry a payment. Default is |
Retrieve a Plan
Path Parameters | Type | Description |
|
| ID of the plan to get. |