Name | Description |
---|---|
BINARY | A user would either have access or not to the given feature in a package. There are either no set amounts or unlimited amounts of a feature when it is binary. |
CONSUMABLE | A user has a set amount of the given feature in a package. There are limits for a feature when it’s consumable. |
Name | Description |
---|---|
ARCHIVED | The package has been archived and is therefore no longer in use. The package will not be modifiable. Users will also not be able to subscribe to the package. |
DRAFT | The package is still being drafted. Users will not be able to subscribe to the package. |
PUBLISHED | The package is published and is therefore live for users to subscribe to. |
ALL | Used solely for listing all packages as an argument for the packages query. |
billingPeriod
in the BillingTemplate when creating (or editing) the package.Name | Description |
---|---|
YEAR | Usage will reset in a year from the time someone has subscribed to the package with the feature. |
MONTH | Usage will reset in a month from the time someone has subscribed to the package with the feature. |
DAY | Usage will reset in a day from the time someone has subscribed to the package with the feature. |
status
of the subscription from there. You can see more on Stripe’s definitions here.
Name | Description |
---|---|
ACTIVE | The user is currently subscribed to the given package. |
TRIALING | The user is currently subscribed to the given package on a trialled basis. |
CANCELLED | The subscription is no longer valid as the user has cancelled it. |
PAST_DUE | The payment for the subscription is past due and the user needs to pay to regain access. |
UNPAID | The payment for the subscription is unpaid and the user needs to pay to regain access. |
INCOMPLETE | The subscription has just been created but payment still needs to take place. |
INCOMPLETE_EXPIRED | The needed payment for the new subscription has expired. |
Name | Description |
---|---|
ADD | Adds to the existing usage of a feature. |
SET | Overwrites any existing usage of a feature and sets the delta given as the total amount. |