路由:GET /dashboard/billing/subscription
注册处理器:github.com/QuantumNous/new-api/controller.GetSubscription。
消费方:compatibility_client。
鉴权:Relay API Key。面向外部 API 客户端,使用 Authorization Bearer relay token,不接受管理台会话作为普通替代。
字段状态:compatibility-protocol-confirmed。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。
页面/功能:旧 Dashboard billing 兼容查询,供外部 API Key 客户端使用。
前端传参:Authorization: Bearer 。
前端展示:订阅或用量兼容响应;不应用于本管理台钱包/订阅页面。
调试:使用本操作的 x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。
Authorization: Bearer ********************curl --location 'http://api-dev.opensosen.cn/dashboard/billing/subscription' \
--header 'Authorization: Bearer <token>'{
"object": "billing_compatibility_response"
}