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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
engine |
Entitlements |
options |
BillingOptions |