Skip to content

BetterAuthStripeSubscription

Defined in: src/billing/better-auth.ts:52

The plugin’s Subscription row (structural subset of @better-auth/stripe’s type).

Property Type Defined in
cancelAtPeriodEnd? boolean src/billing/better-auth.ts:63
canceledAt? Date src/billing/better-auth.ts:64
id string src/billing/better-auth.ts:53
periodEnd? Date src/billing/better-auth.ts:61
periodStart? Date src/billing/better-auth.ts:60
plan string src/billing/better-auth.ts:54
priceId? string src/billing/better-auth.ts:58
referenceId string src/billing/better-auth.ts:55
seats? number src/billing/better-auth.ts:65
status string src/billing/better-auth.ts:59
stripeCustomerId? string src/billing/better-auth.ts:56
stripeSubscriptionId? string src/billing/better-auth.ts:57
trialEnd? Date src/billing/better-auth.ts:62