跳转到主要内容
GET
/
billing
/
subscription
/
license
/
{licenseId}
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/billing/subscription/license/{licenseId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "instanceId": "<string>",
  "currentPeriodStart": "<string>",
  "currentPeriodEnd": "<string>",
  "quantity": 123,
  "unitAmount": 123,
  "licenseKey": "<string>",
  "interval": "month",
  "level": "free"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

licenseId
string
必填

响应

200 - application/json

Returns license details for the self-hosted related subscription

id
string
必填
instanceId
string
必填
currentPeriodStart
string
必填
currentPeriodEnd
string
必填
quantity
number
必填
unitAmount
number
必填
licenseKey
string
必填
interval
enum<string>
必填
可用选项:
month,
year
level
enum<string>
必填
可用选项:
free,
plus,
pro,
enterprise
Last modified on December 10, 2025