GET /admin/billing/subscriptions
Paginate all subscriptions, sorted by creation time in descending order
Billing Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
page |
query |
integer |
No |
1 |
|
|
Page number |
page_size |
query |
integer |
No |
20 |
|
|
Items per page |
Responses
| Status | Description | Schema |
| 200 | Subscription list query successful | dto.ListResponse-dto_SubscriptionResponse |
| 400 | Invalid request parameters | object |
| 401 | Unauthorized | object |
| 403 | No permission | object |
| 500 | Internal server error | object |
Referenced Schemas
dto.ListResponse-dto_SubscriptionResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
items |
array of
See dto.SubscriptionResponse |
No |
|
|
Use items uniformly |
message |
string |
No |
|
|
|
pagination |
object |
No |
|
|
Pagination information (nested object) |
timestamp |
string |
No |
|
|
|
total |
integer |
No |
|
|
Total count (flattened for direct reading) |
dto.SubscriptionResponse
| Field | Type | Required | Example | Constraints | Description |
admin_user_id |
string |
No |
usr_abc123 |
|
|
amount |
number |
No |
499 |
|
|
auto_renew |
boolean |
No |
True |
|
|
billing_cycle |
string |
No |
monthly |
|
|
cancel_at_period_end |
boolean |
No |
False |
|
|
currency |
string |
No |
CNY |
|
|
current_period_end |
string |
No |
2026-02-01T00:00:00Z |
|
|
current_period_start |
string |
No |
2026-01-01T00:00:00Z |
|
|
grace_period_days |
integer |
No |
7 |
|
|
plan_id |
string |
No |
pro |
|
|
status |
string |
No |
active |
|
|
tenant_id |
string |
No |
tnt_xyz789 |
|
|
trial_end_date |
string |
No |
2026-01-15T00:00:00Z |
|
|
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
has_next |
boolean |
No |
|
|
HasNext indicates whether there is a next page |
has_prev |
boolean |
No |
|
|
HasPrev indicates whether there is a previous page |
page |
integer |
No |
|
|
Page is the current page number (1-based) |
page_size |
integer |
No |
|
|
PageSize is the number of items per page |
total |
integer |
No |
|
|
Total is the total number of items across all pages |
total_pages |
integer |
No |
|
|
TotalPages is the total number of pages |