feat: add optional business_name field to SubscriptionDetails interface in billing API for enhanced billing information
This commit is contained in:
@@ -13,6 +13,8 @@ export interface SubscriptionDetails {
|
|||||||
sites_count?: number
|
sites_count?: number
|
||||||
/** Pageviews in current billing period (when pageview_limit > 0). Present when backend supports usage API. */
|
/** Pageviews in current billing period (when pageview_limit > 0). Present when backend supports usage API. */
|
||||||
pageview_usage?: number
|
pageview_usage?: number
|
||||||
|
/** Business name from Stripe Checkout (optional). */
|
||||||
|
business_name?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
async function billingFetch<T>(endpoint: string, options: RequestInit = {}): Promise<T> {
|
async function billingFetch<T>(endpoint: string, options: RequestInit = {}): Promise<T> {
|
||||||
|
|||||||
Reference in New Issue
Block a user