Skip to content

WebhooksEventsOptions

Defined in: src/bridges/webhooks.ts:70

Options for webhooksEvents.

Property Type Description Defined in
application? string | ((customer) => string) The webhooks application to publish to: a fixed key, or one per customer. Default: the customer id (each customer is a webhooks application). src/bridges/webhooks.ts:75
eventPrefix? string Event type prefix. Default "entitlements.". src/bridges/webhooks.ts:77
usage? boolean Also publish entitlements.usage.recorded for every usage change (onUsage). Default false. src/bridges/webhooks.ts:79