跳转到主要内容
GET
/
billing
/
subscription
/
license
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/billing/subscription/license \
  --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.

响应

200 - application/json

Returns license list

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