Autional Autional
API Reference GitHub autional.com →

GET /admin/points/stats

Admin operation. Get aggregated statistics for the current tenant: total accounts, active accounts, total balance, total earned/spent/expired, monthly data, total transactions.

Points Service `bearerAuth` application/json

Responses

StatusDescriptionSchema
200Tenant statisticsdto.TenantPointStatsDetailResponse
400Bad requestgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
403Forbiddengitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.TenantPointStatsDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.TenantPointStatsResponse No
message string No
timestamp string No

dto.TenantPointStatsResponse

FieldTypeRequiredExampleConstraintsDescription
active_accounts integer No 38
earned_this_month integer No 20000
spent_this_month integer No 15000
tenant_id string No tnt_example_001
total_accounts integer No 42
total_balance integer No 150000
total_earned integer No 500000
total_expired integer No 10000
total_frozen integer No 5000
total_spent integer No 350000
total_transactions integer No 1234

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No