Skip to content

basalt / billing-ui/src / billingUiRoutes

Function: billingUiRoutes() ​

> billingUiRoutes(options): BasaltRoute[]

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

Serves the billing page at GET /billing/ui and its data at GET /billing/info ({ subscription, plans }). Pair with @basaltkit/subscriptions' billingRoutes() (which provides POST /billing/checkout and /billing/portal that the page calls).

Parameters ​

options ​

BillingUiOptions

Returns ​

BasaltRoute[]

Released under the MIT License.