@lastshotlabs/slingshot-billing
@lastshotlabs/slingshot-billing owns payment plumbing — provider customer mapping, hosted Checkout and Billing Portal sessions, one-time donations, a signature-verified webhook, and idempotent subscription sync — behind a provider-neutral BillingProvider seam (Stripe is the first implementation). What it exposes to the rest of the app is deliberately small: a domain-agnostic entitlement that answers one question — what has this owner paid for right now? — as { plan, status, currentPeriodEnd, cancelAtPeriodEnd }.
Start Here
Section titled “Start Here”- Overview: how to use the package, what it is for, and setup guidance.
- Reference: generated package facts, exports, and inventories.
- Maintainer Notes: internal notes, follow-ups, and migration breadcrumbs.
Package Facts
Section titled “Package Facts”- Install:
bun add @lastshotlabs/slingshot-billing - Version:
0.2.1 - Role: feature package
- Workspace path:
packages/slingshot-billing - API reference: @lastshotlabs/slingshot-billing
Reader Note
Section titled “Reader Note”- If you are trying to learn the package, start with Overview. The Reference page is inventory, not a tutorial.