Skip to content

basalt / billing-ui/src / BillingUiOptions

Interface: BillingUiOptions ​

Defined in: billing-ui/src/plugin.ts:6

Extends ​

Properties ​

apiBase? ​

> optional apiBase?: string

Defined in: billing-ui/src/html.ts:5

Base path where the billing JSON routes are mounted. Default '' (same origin).

Inherited from ​

BillingPageOptions.apiBase


csp? ​

> optional csp?: string | false

Defined in: billing-ui/src/plugin.ts:15

Content-Security-Policy for the page. Default: the hash-locked billingPageCsp. Pass a string to override, or false to send none.


headers? ​

> optional headers?: Record<string, string>

Defined in: billing-ui/src/html.ts:8

Extra headers sent with every request (e.g. { 'x-tenant-id': '…' }).

Inherited from ​

BillingPageOptions.headers


path? ​

> optional path?: string

Defined in: billing-ui/src/plugin.ts:10

Where to mount the page. Default /billing/ui.


plans ​

> plans: Plans

Defined in: billing-ui/src/plugin.ts:8

The plans to show. Pass the same Plans you gave subscriptionsPlugin.


title? ​

> optional title?: string

Defined in: billing-ui/src/html.ts:6

Inherited from ​

BillingPageOptions.title

Released under the MIT License.