POST /admin/billing/subscription/{tenant_id}/extend-trial
延长指定租户当前订阅的免费试用期限(以天为单位),成功后发送试用到期提醒通知
计费服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenant_id |
path |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: dto.ExtendTrialRequest
| Field | Type | Required | Example | Constraints | Description |
extend_days |
integer |
Yes |
14 |
|
|
Referenced Schemas
dto.TrialActionDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.TrialActionResult |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.TrialActionResult
| Field | Type | Required | Example | Constraints | Description |
message |
string |
No |
试用期已延长14天 |
|
|
plan |
string |
No |
pro |
|
|
status |
string |
No |
active |
|
|
tenant_id |
string |
No |
tnt_xyz789 |
|
|
trial_end_date |
string |
No |
2026-06-01T00:00:00Z |
|
|