feat: add optional business_name field to SubscriptionDetails interface in billing API for enhanced billing information

This commit is contained in:
Usman Baig
2026-02-20 03:03:21 +01:00
parent 826dbdbe63
commit 4410366ccf

View File

@@ -13,6 +13,8 @@ export interface SubscriptionDetails {
sites_count?: number
/** Pageviews in current billing period (when pageview_limit > 0). Present when backend supports usage API. */
pageview_usage?: number
/** Business name from Stripe Checkout (optional). */
business_name?: string
}
async function billingFetch<T>(endpoint: string, options: RequestInit = {}): Promise<T> {