Skip to content

createBilling

function createBilling(engine, options): EntitlementsBilling;

Defined in: src/billing/intake.ts:111

Bind billing providers to an engine. The returned EntitlementsBilling is what the panel’s POST /webhooks/:provider, /api/portal/checkout|manage and /api/customers/:id/reconcile routes call.

Parameter Type
engine Entitlements
options BillingOptions

EntitlementsBilling