LemonSqueezy fixture
order_created
Fires when a new order is placed in your LemonSqueezy store. Includes both order data and the customer record — useful for one-shot fulfillment without follow-up API calls.
When does it fire?
A customer completes checkout. Subsequent events (refunds, subscription billing) come as separate webhooks.
Request headers
Content-Type: application/json
X-Event-Name: order_created
X-Signature: f4c98b1e2a3d4c5b6a7e8f9d0c1b2a3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9bPayload
{
"meta": {
"event_name": "order_created",
"webhook_id": "f4c98b1e-2a3d-4c5b-6a7e-8f9d0c1b2a3d",
"custom_data": {
"user_id": "usr_abc123"
}
},
"data": {
"type": "orders",
"id": "12345",
"attributes": {
"store_id": 1,
"customer_id": 99999,
"identifier": "ORDER-1042",
"order_number": 1042,
"user_email": "[email protected]",
"status": "paid",
"total": 2999,
"tax": 0,
"currency": "USD",
"first_order_item": {
"product_id": 5555,
"variant_id": 6666,
"product_name": "HookSense Hook Plan",
"price": 1900
},
"created_at": "2026-05-13T12:00:00.000000Z"
}
}
}Key fields
meta.webhook_idUnique per webhook delivery — dedup key.
meta.custom_dataYour key/value pairs passed at checkout creation. Map orders back to your users here.
data.attributes.statuspaid | failed | refunded. Only fulfill on paid.
data.attributes.totalAmount in cents.
Test it with cURL
Replace your-endpoint with your HookSense endpoint slug — or any URL you want to test against.
curl -X POST https://hooksense.com/w/your-endpoint \
-H "Content-Type: application/json" \
-H "X-Event-Name: order_created" \
-H "X-Signature: f4c98b1e2a3d4c5b6a7e8f9d0c1b2a3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b" \
-d '{
"meta": {
"event_name": "order_created",
"webhook_id": "f4c98b1e-2a3d-4c5b-6a7e-8f9d0c1b2a3d",
"custom_data": {
"user_id": "usr_abc123"
}
},
"data": {
"type": "orders",
"id": "12345",
"attributes": {
"store_id": 1,
"customer_id": 99999,
"identifier": "ORDER-1042",
"order_number": 1042,
"user_email": "[email protected]",
"status": "paid",
"total": 2999,
"tax": 0,
"currency": "USD",
"first_order_item": {
"product_id": 5555,
"variant_id": 6666,
"product_name": "HookSense Hook Plan",
"price": 1900
},
"created_at": "2026-05-13T12:00:00.000000Z"
}
}
}'Capture this in HookSense
Fire the cURL above at your HookSense endpoint and inspect the request in real time — with headers, body, signature verification, and replay.
Get a free endpoint