X Enterprises
Tenants

TenantsBilling

Tenant billing and usage metrics panel for admin subscription oversight.

TenantsBilling

Renders a billing overview for a specific tenant including current plan, billing cycle, MRR, usage metrics (seats, storage, API calls vs. plan limits), and an action to update the plan.

Components

<XAdminTenantsBilling />

Displays a tenant's billing summary with plan info, usage gauges against plan limits, and a plan upgrade/downgrade action.

<XAdminTenantsBilling :tenantId="tenantId" />

Props

PropTypeDefaultDescription
tenantIdstringID of the tenant
endpointstring'/api/admin/tenants'Base API endpoint
loadingbooleanfalseShow loading skeleton
showUsagebooleantrueDisplay usage metrics with plan limit bars
allowPlanChangebooleantrueShow plan change action button

AI Context

component: XAdminTenantsBilling
package: "@xenterprises/nuxt-x-app-admin"
category: Tenants
use-when: Displaying a tenant's current plan, billing cycle, and resource usage in an admin panel
Copyright © 2026