Get Subscription
Create Checkout
Create a Stripe checkout session to upgrade.Create Portal
Create a Stripe billing portal session for managing subscriptions.Types
SubscriptionStatus
| Field | Type | Description |
|---|---|---|
Plan | string | "free", "pro", "enterprise" |
Status | string | "active", "past_due", "canceled" |
CurrentPeriodEnd | *string | ISO 8601 period end |