ข้ามไปยังเนื้อหา

💳 Billing And Usage API

การเปลี่ยนแปลงแผน การออกใบแจ้งหนี้ และการใช้ทรัพยากร ขีดจำกัดโควต้าระดับ Namespace และการติดตามการใช้งาน

  • หมวดหมู่: แพลตฟอร์ม
  • ความซับซ้อน: ปานกลาง
  • เส้นทาง: 25 | สคีมา: 101
  • ระดับ: Standard
  • โดเมนที่เกี่ยวข้อง: system, users
  • จัดการแผนการสมัครสมาชิกและการเปลี่ยนแปลงการเรียกเก็บเงิน
  • กำหนดค่าวิธีการชำระเงินและใบแจ้งหนี้
  • ติดตามการใช้งานโควต้าทรัพยากรทั่วทุก Namespace
  • ตรวจสอบขีดจำกัดการใช้งานและความจุ
  • subscription: การสมัครสมาชิกสำหรับสิทธิ์การใช้บริการ
  • quota: โควต้าทรัพยากรสำหรับขีดจำกัดการใช้งาน
  • usage_report: รายงานการใช้งานสำหรับการติดตามการบริโภค
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.