Lemon Squeezy
Merchant of record with checkout, subscriptions, pause/resume, and webhook verification.
Installation
npm install billingsdk-core billingsdk-lemonsqueezy
Configuration
import { lemonSqueezy } from "billingsdk-lemonsqueezy";
const adapter = lemonSqueezy({
apiKey: process.env.LEMON_SQUEEZY_API_KEY!,
storeId: process.env.LEMON_SQUEEZY_STORE_ID,
webhookSecret: process.env.LEMON_SQUEEZY_WEBHOOK_SECRET,
});Your store ID is found in the Lemon Squeezy dashboard under Your Store > Settings.
Capabilities
Checkout ✅
Subscriptions ✅
Subscription Pause ✅
Subscription Resume ✅
Refunds ✅
Customer Portal ❌
Webhook Verification
Verifies Lemon Squeezy webhooks using HMAC-SHA256 via the X-Signature header. Configure your webhook URL and signing secret in the Lemon Squeezy dashboard.