Module billing

Source
Expand description

Billing endpoints

Structsยง

AdminUpgradeSubscriptionPlan
Set the cancellation status of a subscription
CreateCustomerPortalLink
Generate a link for a customer to view their Stripe customer portal
CreateSetupIntent
Create a setup intent so that a customer can add a payment method
CreateSubscription
Create a subscription and store payment info if provided
UpdateSubscriptionCancellation
Set the cancellation status of a subscription
UpdateSubscriptionPaused
Set whether the subscription is paused or not
UpgradeSubscriptionPlan
Set the cancellation status of a subscription