Payments
Lemon Squeezy Webhooks
All-in-one platform for selling digital products and SaaS. Receive events for orders, subscriptions, and license keys.
Connecting Lemon Squeezy to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Lemon Squeezy. Then:
- 1Go to Lemon Squeezy Dashboard → Settings → Webhooks
- 2Click "Add endpoint" and paste your Hookbase ingest URL
- 3Enter a signing secret and add it to your Hookbase source
- 4Select the events you want to receive
Signature verification
Set the source's provider to lemonsqueezy and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256
- Header
- X-Signature
- Where to find the secret
- Lemon Squeezy Dashboard → Settings → Webhooks → Signing secret
Lemon Squeezy event types
8 of the events people route most often. Hookbase accepts every event Lemon Squeezy sends, whether or not it is listed here.
order_created
A new order was placed
order_refunded
An order was refunded
subscription_created
A new subscription was created
subscription_updated
A subscription was updated
subscription_cancelled
A subscription was cancelled
subscription_payment_success
A subscription payment succeeded
subscription_payment_failed
A subscription payment failed
license_key_created
A license key was created
What a Lemon Squeezy webhook looks like
A order_created payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"meta": {
"event_name": "order_created",
"custom_data": {}
},
"data": {
"type": "orders",
"id": "1",
"attributes": {
"store_id": 1,
"status": "paid",
"total": 999,
"total_formatted": "$9.99",
"currency": "USD",
"user_email": "customer@example.com",
"created_at": "2024-01-15T10:30:00Z"
}
}
}Start receiving Lemon Squeezy webhooks
Create a source, paste the URL into Lemon Squeezy, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free