# Lemon Squeezy Webhooks

**Category:** Payments

> SaaS payment and subscription webhooks

Lemon Squeezy is a merchant of record for SaaS products. It sends webhook events for orders, subscriptions, and license key activations.

## Signature

- **Header**: `X-Signature`
- **Method**: HMAC-SHA256 of raw body using signing secret
- **Provider docs**: https://docs.lemonsqueezy.com/help/webhooks

## Events

- `order_created` — A new order was placed
- `subscription_created` — A new subscription was created
- `subscription_updated` — A subscription was updated
- `subscription_cancelled` — A subscription was cancelled
- `license_key_created` — A license key was generated

## Sample payload

```json
{
  "meta": {
    "event_name": "order_created",
    "custom_data": {}
  },
  "data": {
    "type": "orders",
    "id": "1234567",
    "attributes": {
      "status": "paid",
      "total": 2900,
      "currency": "USD",
      "user_email": "customer@example.com"
    }
  }
}
```

## Test this provider

1. Get a free endpoint at https://webhookwhisper.com
2. Configure Lemon Squeezy to send webhooks to it

---

Provider hub: https://webhookwhisper.com/webhook-providers
