> Stripe Subscriptions
Manage recurring payments with Stripe subscriptions, billing portal, and metered billing.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/stripe-subscriptions?format=md"SKILL.md•Stripe Subscriptions
Stripe Subscriptions
Create Subscription via Checkout
const session = await stripe.checkout.sessions.create({
mode: 'subscription',
line_items: [{ price: 'price_monthly_pro', quantity: 1 }],
success_url: 'https://app.com/success',
cancel_url: 'https://app.com/pricing',
customer: customerId,
});
Manage Subscription
await stripe.subscriptions.update(subId, { items: [{ price: 'price_annual_pro' }] });
await stripe.subscriptions.cancel(subId);
Billing Portal
const portal = await stripe.billingPortal.sessions.create({
customer: customerId, return_url: 'https://app.com/settings',
});
// Redirect to portal.url
Webhook Events: customer.subscription.created/updated/deleted, invoice.paid/payment_failed
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.
┌ stats
installs/wk0
░░░░░░░░░░first seenMar 18, 2026
└────────────