Payments
Polar Webhooks
Merchant of record for digital products and subscriptions. Receive events for orders, subscriptions, checkouts, customers, refunds, disputes and benefit grants.
Connecting Polar to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Polar. Then:
- 1In Polar, open Settings → Webhooks and click Add Endpoint
- 2Paste your Hookbase ingest URL, choose the Raw format and an API version, select the events and click Create webhook
- 3Open the endpoint and click Copy Secret. If it shows "Legacy signing", click Reset Secret first so it signs with Standard Webhooks
- 4Paste the secret into this Hookbase source
- 5Polar waits 10 seconds for a 2xx and disables an endpoint after 10 consecutive failed events
Signature verification
Set the source's provider to standard-webhooks 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 (Standard Webhooks spec: sign "{webhook-id}.{webhook-timestamp}.{body}", base64-encoded)
- Header
- webhook-signature
- Where to find the secret
- Settings → Webhooks → your endpoint → Copy Secret. If the endpoint shows "Legacy signing", click Reset Secret first so Polar signs with Standard Webhooks.
Polar event types
19 of the events people route most often. Hookbase accepts every event Polar sends, whether or not it is listed here.
order.paid
An order was paid; the event to fulfil a purchase on
order.created
An order was created (it may still be pending)
order.updated
An order changed, e.g. paid or refunded
order.refunded
An order was fully or partly refunded
customer.state_changed
A customer's subscriptions, benefits or meters changed; recommended for access control
customer.created
A customer was created
customer.updated
A customer was updated
subscription.created
A subscription was created (it may not be active yet)
subscription.active
A subscription became active
subscription.updated
A subscription changed
subscription.canceled
A subscription was canceled; access may continue until period end
subscription.uncanceled
A scheduled cancellation was undone
subscription.revoked
A subscription ended and access was revoked
subscription.past_due
A subscription payment failed
checkout.created
A checkout session was created
checkout.updated
A checkout session changed
refund.created
A refund was created
benefit_grant.created
A benefit was granted to a customer
benefit_grant.revoked
A benefit grant was revoked
What a Polar webhook looks like
A order.paid payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"type": "order.paid",
"timestamp": "2026-11-30T18:42:07.812345Z",
"api_version": "2026-10",
"data": {
"id": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
"created_at": "2026-11-30T18:42:01.104512Z",
"modified_at": "2026-11-30T18:42:07.733019Z",
"status": "paid",
"paid": true,
"subtotal_amount": 4900,
"discount_amount": 0,
"net_amount": 4900,
"tax_amount": 0,
"total_amount": 4900,
"refunded_amount": 0,
"currency": "usd",
"billing_reason": "purchase",
"billing_name": "Jane Doe",
"invoice_number": "ACME-0001-0007",
"customer_id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"product_id": "1b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e",
"subscription_id": null,
"checkout_id": "2c3d4e5f-6a7b-4c8d-8e9f-1a2b3c4d5e6f",
"metadata": {},
"customer": {
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"email": "jane@example.com",
"name": "Jane Doe",
"external_id": null,
"organization_id": "3d4e5f6a-7b8c-4d9e-af0a-2b3c4d5e6f7a"
},
"product": {
"id": "1b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e",
"name": "Pro License",
"is_recurring": false,
"organization_id": "3d4e5f6a-7b8c-4d9e-af0a-2b3c4d5e6f7a"
},
"items": [
{
"id": "4e5f6a7b-8c9d-4eaf-b0c1-3d4e5f6a7b8c",
"label": "Pro License",
"amount": 4900,
"tax_amount": 0,
"proration": false,
"product_price_id": "5f6a7b8c-9d0e-4fa1-b2c3-4e5f6a7b8c9d"
}
]
}
}Start receiving Polar webhooks
Create a source, paste the URL into Polar, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free