- หน้าแรก
- API Enriched
- อ้างอิง API
- 💳 Billing And Usage API
💳 Billing And Usage API
การเปลี่ยนแปลงแผน การออกใบแจ้งหนี้ และการใช้ทรัพยากร ขีดจำกัดโควต้าระดับ Namespace และการติดตามการใช้งาน
- หมวดหมู่: แพลตฟอร์ม
- ความซับซ้อน: ปานกลาง
- เส้นทาง: 25 | สคีมา: 101
- ระดับ: Standard
- โดเมนที่เกี่ยวข้อง:
system,users
กรณีการใช้งาน
หัวข้อที่มีชื่อว่า “กรณีการใช้งาน”- จัดการแผนการสมัครสมาชิกและการเปลี่ยนแปลงการเรียกเก็บเงิน
- กำหนดค่าวิธีการชำระเงินและใบแจ้งหนี้
- ติดตามการใช้งานโควต้าทรัพยากรทั่วทุก Namespace
- ตรวจสอบขีดจำกัดการใช้งานและความจุ
ทรัพยากรหลัก
หัวข้อที่มีชื่อว่า “ทรัพยากรหลัก”- subscription: การสมัครสมาชิกสำหรับสิทธิ์การใช้บริการ
- quota: โควต้าทรัพยากรสำหรับขีดจำกัดการใช้งาน
- usage_report: รายงานการใช้งานสำหรับการติดตามการบริโภค
Endpoints
หัวข้อที่มีชื่อว่า “Endpoints”| Method | Path | Description |
|---|---|---|
| POST | /api/data/namespaces/system/billing/usage_summary | Billing Usage Summary. |
| GET | /api/web/namespaces/{namespace}/usage/invoice_pdf | GetInvoicePdf. |
| GET | /api/web/namespaces/{namespace}/usage/invoices/custom_list | List invoices. |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/primary | Make credit card primary. |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/secondary | Make payment method secondary. |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/swap-primary | Make payment method secondary. |
| POST | /api/web/namespaces/{namespace}/billing/payment_methods | Create payment method specification. |
| DELETE | /api/web/namespaces/{namespace}/billing/payment_methods/{name} | DELETE the specified payment method. |
| GET | /no_auth/namespaces/system/billing/plan_transition | GetPlanTransition. |
| POST | /api/web/namespaces/{namespace}/billing/plan_transition | InitiatePlanTransition. |
| POST | /api/web/namespaces/{metadata.namespace}/quotas | Create Quota. |
| PUT | /api/web/namespaces/{metadata.namespace}/quotas/{metadata.name} | Replace Quota. |
| GET | /api/web/namespaces/{namespace}/quota/limits | Custom GET Quota Limits. |
| GET | /api/web/namespaces/{namespace}/quota/usage | GET Quota Usage. |
| GET | /api/web/namespaces/{namespace}/quotas | List 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_list | List Subscriptions. |
| POST | /api/web/namespaces/system/addon/subscribe | Subscribe to XC addon services. |
| POST | /api/web/namespaces/system/addon/unsubscribe | Unsubscribe to XC addon services. |
| POST | /api/web/namespaces/{namespace}/current_usage | List current usage details. |
| POST | /api/web/namespaces/{namespace}/hourly_usage_details | List hourly usage details. |
| POST | /api/web/namespaces/{namespace}/monthly_usage | List monthly usage details. |
| POST | /api/web/namespaces/{namespace}/usage_details | List usage details. |
| GET | /api/web/namespaces/system/usage_plans/current | GET current usage plan. |
| GET | /api/web/namespaces/system/usage_plans/custom_list | List Usage Plans. |