BetterAuthStripeOptions
Defined in: src/billing/better-auth.ts:93
Options for betterAuthStripe.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
catalog? |
AnyCatalog |
Required to generate plans when passing an EntitlementsBilling instead of the engine. |
- | src/billing/better-auth.ts:95 |
customerId? |
(subscription) => string |
Entitlements customer for a plugin subscription. Default subscription.referenceId. |
- | src/billing/better-auth.ts:97 |
includeHidden? |
boolean |
Include hidden plans. Default true (they can still be subscribed to). |
BetterAuthPlansOptions.includeHidden |
src/billing/better-auth.ts:89 |
provider? |
string |
Catalog provider key holding the Stripe price ids. Default "stripe". |
BetterAuthPlansOptions.provider |
src/billing/better-auth.ts:87 |