@bates-solutions/stripe — a TypeScript wrapper for the Stripe API.
The package's main entrypoint. Exports createStripeClient / StripeClient
(one service per Stripe domain — customers, checkout, billingPortal,
subscriptions, prices, products, invoices, paymentLinks, paymentMethods,
setupIntents, payments, refunds, oauth; forAccount(id) scopes a client
to a Connect account), the
normalized error hierarchy (StripeError + parseStripeError), and money /
idempotency utilities (toMinor, fromMinor, formatMoney,
createIdempotencyKey). Webhook helpers live in the
@bates-solutions/stripe/server entrypoint.
@bates-solutions/stripe— a TypeScript wrapper for the Stripe API.The package's main entrypoint. Exports
createStripeClient/StripeClient(one service per Stripe domain —customers,checkout,billingPortal,subscriptions,prices,products,invoices,paymentLinks,paymentMethods,setupIntents,payments,refunds,oauth;forAccount(id)scopes a client to a Connect account), the normalized error hierarchy (StripeError+parseStripeError), and money / idempotency utilities (toMinor,fromMinor,formatMoney,createIdempotencyKey). Webhook helpers live in the@bates-solutions/stripe/serverentrypoint.Example