From 4410366ccfb09e7b10eb21c5e6dbe2a0da564923 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Fri, 20 Feb 2026 03:03:21 +0100 Subject: [PATCH] feat: add optional business_name field to SubscriptionDetails interface in billing API for enhanced billing information --- lib/api/billing.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/api/billing.ts b/lib/api/billing.ts index 447fd23..047712d 100644 --- a/lib/api/billing.ts +++ b/lib/api/billing.ts @@ -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(endpoint: string, options: RequestInit = {}): Promise {