Skip to content

betterAuthStripe

function betterAuthStripe(target, options?): BetterAuthStripeSubscriptionOptions;

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

Callbacks + plans for @better-auth/stripe’s subscription option. Pass the engine (a billing intake with a webhook-less stripe provider is created for you) or an existing EntitlementsBilling (then pass catalog to get plans).

Parameter Type
target | EntitlementsBilling | Entitlements<AnyCatalog>
options? BetterAuthStripeOptions

BetterAuthStripeSubscriptionOptions