GET 路径: /api/billing/summary 认证: 会话 Bearer
响应
object
当前钱包快照,含
balance 与 currency。object[]
最新的钱包充值。
object[]
最新的钱包交易。
object
当前计费月的聚合用量。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回单一负载,含钱包余额、近期支付、近期交易与本月至今的用量,用于控制台计费概览。
GET 路径: /api/billing/summary 认证: 会话 Bearer
balance 与 currency。curl -H "Authorization: Bearer eyJhbGciOi..." \
https://ariacompute.cn/api/billing/summary
{
"wallet": { "balance": 42.10, "currency": "CNY" },
"recent_payments": [
{ "id": "pay_01H...", "amount": 100, "currency": "CNY", "status": "paid" }
],
"recent_transactions": [
{ "id": "txn_01H...", "type": "usage", "amount": -0.12, "currency": "CNY" }
],
"month_usage": { "total_cost": 7.90, "currency": "CNY" }
}
| 状态 | 含义 |
|---|---|
401 | 缺失或无效的会话令牌。 |
Was this page helpful?