列出计费计划
OpenAPI 契约
- 方法
- GET
- 路径
/api/v1/billing/plans- 认证
- jwtBearer (bearer)
- 响应状态
- 200 400 401 403 429 500
请求与响应 Schema
JSON
{
"requestBody": {},
"responses": {
"200": {
"description": "Active plans",
"content": {
"application/json": {
"$ref": "#/components/schemas/PlanView"
}
}
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"$ref": "#/components/schemas/RequestError"
}
}
},
"401": {
"description": "Authentication required or invalid",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"403": {
"description": "Authenticated but not permitted",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"429": {
"description": "Rate limit exceeded",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"500": {
"description": "Unexpected server error",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}GET /api/v1/billing/plans 仅限 JWT。它按价格返回活跃计划,包括代码、显示名称、每月 NCU 赠送、价格和币种、并发/平台/保留限制、结转倍数、水印标志,以及配置了 Stripe 价格而可购买的标志。
http
GET /api/v1/billing/plans
Authorization: Bearer <access token>