Create a Subscription
Canceled subscription. Throw exception on errors.
Cancel a subscription scheduled updates
The subscription id
Discards all network connections, background tasks, and other resources held by the client.
Do not attempt to use the client after calling this method.
Create a Customer.
Newly created customer. Throw exception on errors.
Create a Subscription
Newly created subscription. Throw exception on errors.
Estimate subscription
Preview of the subscription.
Estimate subscription update
Preview of the subscription.
Get customer's active subscriptions.
List of active subscriptions.
Get boolean entitlement of feature for a customer
boolean entitlement.
Get a list of coupons
Get a Customer.
customer id
Full customer details.
Get entitlements per user
Get metered entitlement of feature for a customer
metered entitlement
Get numeric entitlement of feature for a customer
numeric entitlement
Get the paywall data
Get a list of products
Import a Customer from billing integration. Private information such as email and name are not imported and needs to be send in order to be persisted in Stigg. Active billing integration is required for this functionality.
Newly created customer. Throw exception on errors.
Initiate a checkout to purchase a plan
Container object for the checkout process. Throw exception on errors.
Migrate subscription to latest plan and addons version and pricing. using SubscriptionMigrationTime.EndOfBillingPeriod is possible only if Stripe integration is enabled and will migrate the subscription in the end of the current billing period. Using Immediate will perform the migration imidietly. Default, migration will happen imidietly.
The subscription id
Create a Customer and its first subscription
Newly created customer and subscription. Throw exception on errors.
Provision a Subscription.
Provision subscription result. Throw exception on errors.
Report usage for metered entitlement
Update a Customer.
Updated customer. Throw exception on errors.
Update a Subscription
updated subscription. Throw exception on errors.
Initialize an instance of the Stigg SDK client.
client configuration object provided by the consumer.
stigg SDK instance.
Generated using TypeDoc
Stigg Node.js SDK client