███████╗████████╗██████╗ ██╗██████╗ ███████╗ ██╗ ██╗██╗████████╗
██╔════╝╚══██╔══╝██╔══██╗██║██╔══██╗██╔════╝ ██║ ██╔╝██║╚══██╔══╝
███████╗ ██║ ██████╔╝██║██████╔╝█████╗ █████╔╝ ██║ ██║
╚════██║ ██║ ██╔══██╗██║██╔═══╝ ██╔══╝ ██╔═██╗ ██║ ██║
███████║ ██║ ██║ ██║██║██║ ███████╗ ██║ ██╗██║ ██║
╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
Type-safe. Simple API. Webhooks. Subscriptions. Checkout.
Build production-ready Stripe integrations in minutes.
// Create a checkout session in seconds
import { StripeKit } from '@plutaslab/stripe-kit' const stripe = new StripeKit({ secretKey: process.env.STRIPE_SECRET_KEY, }) // One line checkout const session = await stripe.checkout.createSession({ items: [{ name: 'Pro Plan', amount: 4900 }], successUrl: '/success', cancelUrl: '/pricing', }) // Type-safe webhooks const handler = stripe.webhooks.createHandler({ 'checkout.session.completed': (event) => { console.log('Payment received!') }, })
// Everything you need for Stripe integration
╔════╗ ║ TS ║ ╚════╝
Full TypeScript support with 150+ typed webhook events. Catch errors at compile time.
┌──$──┐ │ $$$ │ └─────┘
Create, update, pause, resume, cancel subscriptions with intuitive one-liners.
┌─────┐ │ [✓] │ └─────┘
Sessions, Payment Intents, Payment Links with simplified API.
←─────→ │HOOK │ ←─────→
Type-safe handlers with automatic signature verification.
┌─@─┐ │ o │ └───┘
Full CRUD with search and get-or-create patterns built in.
╱╲╱╲╱╲ ────── USAGE
Meters and usage records for metered billing models.
●───● │ │ ●───●
Marketplace payments, transfers, and payouts.
┌─────┐ │ INV │ │ ### │ └─────┘
Create, send, finalize, void invoices programmatically.
╔═════╗ ║░░░░░║ ╚═════╝
Customer billing portal for self-service management.
// Modular architecture - use what you need
// Up and running in 60 seconds
Add Stripe Kit to your project
$ npm install @plutaslab/stripe-kit stripe
Create a StripeKit instance with your secret key
const stripe = new StripeKit({ secretKey: '...' })
Use the intuitive API to handle payments
await stripe.checkout.createSession({ ... })
╔═══════════════════════════════════════════════╗
║ ║
║ READY TO SIMPLIFY YOUR STRIPE INTEGRATION? ║
║ ║
╚═══════════════════════════════════════════════╝
Join developers building better payment experiences