Base URL
All API requests are made to the following base URLs:- Production
- Test Mode
https://api.creem.io/v1Authentication
All API requests must include your API key in thex-api-key header.
Test Mode
Test mode gives you a full sandbox environment to build and test your integration without processing real payments.
To activate test mode, toggle Test Mode in the bottom of the left sidebar of your dashboard.
Test Cards
Use these card numbers to simulate different payment scenarios. All cards work with any future expiration date, any CVV, and any billing information. Click a card number to copy it.Using Test Mode in Code
Webhooks
Creem sends real-time event notifications to your server via webhooks. Webhook payloads are signed using HMAC-SHA256 so you can verify their authenticity. Signature verification: Every webhook request includes acreem-signature header. Verify it using your webhook secret (found in Developers > Webhook) before processing the payload:
Retry policy: If your endpoint doesn’t respond with HTTP 200, Creem retries at 30 seconds, 1 minute, 5 minutes, and 1 hour. You can also resend events manually from the dashboard.
Full Webhooks Guide
Detailed setup instructions, signature verification, and event payload examples.
Response Codes
Every error response includes a
trace_id you can share with support for faster debugging. See Error Handling for details.
SDKs & Libraries
TypeScript SDK
Core SDK for Node.js and TypeScript projects
Next.js Adapter
Drop-in checkout and webhook helpers for Next.js
Better Auth Plugin
Integrate Creem billing with Better Auth
CLI
Manage products and checkouts from the terminal