billingsdk-creem
v0.1.1
Published
Creem adapter for Billing SDK
Readme
billingsdk-creem
Creem adapter for Billing SDK. Support for checkout, subscriptions, and HMAC webhook verification.
Installation
npm install billingsdk-core billingsdk-creemUsage
import { createBilling, definePlans } from "billingsdk-core";
import { creem } from "billingsdk-creem";
const billing = createBilling({
adapter: creem({
apiKey: process.env.CREEM_API_KEY!,
webhookSecret: process.env.CREEM_WEBHOOK_SECRET,
}),
plans,
});Capabilities
| Feature | Supported | |---------|-----------| | Checkout | ✅ | | Subscriptions | ✅ | | Customer Portal | ❌ | | Invoices | ✅ |
Webhook Verification
Verifies Creem webhook signatures using HMAC-SHA256 via the Creem-Signature header.
