- ホーム
- API Enriched
- APIリファレンス
- 💳 請求と使用状況 API
💳 請求と使用状況 API
プラン移行、請求書発行、リソース消費。名前空間レベルのクォータ制限と使用状況の追跡。
- カテゴリー: プラットフォーム
- 複雑度: 中程度
- パス数: 25 | スキーマ数: 101
- ティア: スタンダード
- 関連ドメイン:
system,users
ユースケース
Section titled “ユースケース”- サブスクリプションプランと請求の移行を管理する
- 支払い方法と請求書を設定する
- 名前空間全体のリソースクォータ使用状況を追跡する
- 使用制限とキャパシティを監視する
主要リソース
Section titled “主要リソース”- subscription: サービス権利のサブスクリプション
- quota: 使用制限のためのリソースクォータ
- usage_report: 消費追跡のための使用状況レポート
エンドポイント
Section titled “エンドポイント”| メソッド | パス | 説明 |
|---|---|---|
| POST | /api/data/namespaces/system/billing/usage_summary | 請求使用状況サマリー。 |
| GET | /api/web/namespaces/{namespace}/usage/invoice_pdf | 請求書PDF取得。 |
| GET | /api/web/namespaces/{namespace}/usage/invoices/custom_list | 請求書一覧。 |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/primary | クレジットカードをプライマリに設定。 |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/secondary | 支払い方法をセカンダリに設定。 |
| POST | /api/web/namespaces/{namespace}/billing/payment_method/{name}/swap-primary | 支払い方法をセカンダリに切り替え。 |
| POST | /api/web/namespaces/{namespace}/billing/payment_methods | 支払い方法仕様を作成。 |
| DELETE | /api/web/namespaces/{namespace}/billing/payment_methods/{name} | 指定した支払い方法を削除。 |
| GET | /no_auth/namespaces/system/billing/plan_transition | プラン移行取得。 |
| POST | /api/web/namespaces/{namespace}/billing/plan_transition | プラン移行開始。 |
| POST | /api/web/namespaces/{metadata.namespace}/quotas | クォータを作成。 |
| PUT | /api/web/namespaces/{metadata.namespace}/quotas/{metadata.name} | クォータを置換。 |
| GET | /api/web/namespaces/{namespace}/quota/limits | クォータ制限カスタム取得。 |
| GET | /api/web/namespaces/{namespace}/quota/usage | クォータ使用状況取得。 |
| GET | /api/web/namespaces/{namespace}/quotas | クォータ一覧。 |
| GET | /api/web/namespaces/{namespace}/quotas/{name} | クォータ取得。 |
| DELETE | /api/web/namespaces/{namespace}/quotas/{name} | クォータ削除。 |
| GET | /api/web/namespaces/{namespace}/subscriptions/custom_list | サブスクリプション一覧。 |
| POST | /api/web/namespaces/system/addon/subscribe | XC アドオンサービスにサブスクライブ。 |
| POST | /api/web/namespaces/system/addon/unsubscribe | XC アドオンサービスのサブスクライブ解除。 |
| POST | /api/web/namespaces/{namespace}/current_usage | 現在の使用状況詳細一覧。 |
| POST | /api/web/namespaces/{namespace}/hourly_usage_details | 時間別使用状況詳細一覧。 |
| POST | /api/web/namespaces/{namespace}/monthly_usage | 月次使用状況詳細一覧。 |
| POST | /api/web/namespaces/{namespace}/usage_details | 使用状況詳細一覧。 |
| GET | /api/web/namespaces/system/usage_plans/current | 現在の使用プラン取得。 |
| GET | /api/web/namespaces/system/usage_plans/custom_list | 使用プラン一覧。 |