Skip to content

💳 Billing And Usage API

Plan transitions, invoicing, and resource consumption. Namespace-level quota limits and usage tracking.

  • Category: Platform
  • Complexity: moderate
  • Paths: 25 | Schemas: 101
  • Tier: Standard
  • Related domains: system, users
  • Manage subscription plans and billing transitions
  • Configure payment methods and invoices
  • Track resource quota usage across namespaces
  • Monitor usage limits and capacity
  • subscription: Subscription for service entitlements
  • quota: Resource quota for usage limits
  • usage_report: Usage report for consumption tracking
MethodPathDescription
POST/api/data/namespaces/system/billing/usage_summaryBilling Usage Summary.
GET/api/web/namespaces/{namespace}/usage/invoice_pdfGetInvoicePdf.
GET/api/web/namespaces/{namespace}/usage/invoices/custom_listList invoices.
POST/api/web/namespaces/{namespace}/billing/payment_method/{name}/primaryMake credit card primary.
POST/api/web/namespaces/{namespace}/billing/payment_method/{name}/secondaryMake payment method secondary.
POST/api/web/namespaces/{namespace}/billing/payment_method/{name}/swap-primaryMake payment method secondary.
POST/api/web/namespaces/{namespace}/billing/payment_methodsCreate payment method specification.
DELETE/api/web/namespaces/{namespace}/billing/payment_methods/{name}DELETE the specified payment method.
GET/no_auth/namespaces/system/billing/plan_transitionGetPlanTransition.
POST/api/web/namespaces/{namespace}/billing/plan_transitionInitiatePlanTransition.
POST/api/web/namespaces/{metadata.namespace}/quotasCreate Quota.
PUT/api/web/namespaces/{metadata.namespace}/quotas/{metadata.name}Replace Quota.
GET/api/web/namespaces/{namespace}/quota/limitsCustom GET Quota Limits.
GET/api/web/namespaces/{namespace}/quota/usageGET Quota Usage.
GET/api/web/namespaces/{namespace}/quotasList Quota.
GET/api/web/namespaces/{namespace}/quotas/{name}GET Quota
DELETE/api/web/namespaces/{namespace}/quotas/{name}DELETE Quota.
GET/api/web/namespaces/{namespace}/subscriptions/custom_listList Subscriptions.
POST/api/web/namespaces/system/addon/subscribeSubscribe to XC addon services.
POST/api/web/namespaces/system/addon/unsubscribeUnsubscribe to XC addon services.
POST/api/web/namespaces/{namespace}/current_usageList current usage details.
POST/api/web/namespaces/{namespace}/hourly_usage_detailsList hourly usage details.
POST/api/web/namespaces/{namespace}/monthly_usageList monthly usage details.
POST/api/web/namespaces/{namespace}/usage_detailsList usage details.
GET/api/web/namespaces/system/usage_plans/currentGET current usage plan.
GET/api/web/namespaces/system/usage_plans/custom_listList Usage Plans.