Skip to main content
GET
/
cabinet
/
admin
/
stats
/
sales
/
summary
Get Sales Summary
curl --request GET \
  --url https://api.example.com/cabinet/admin/stats/sales/summary \
  --header 'Authorization: Bearer <token>'
{
  "total_revenue_kopeks": 123,
  "manual_topup_kopeks": 123,
  "active_subscriptions": 123,
  "active_trials": 123,
  "new_trials": 123,
  "trial_to_paid_conversion": 123,
  "renewals_count": 123,
  "addon_revenue_kopeks": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

days
integer | null
default:30

Preset period in days (7, 30, 90, 0=all)

start_date
string | null

Custom start date ISO format

end_date
string | null

Custom end date ISO format

Response

Successful Response

Summary stats for the top cards.

total_revenue_kopeks
integer
required
manual_topup_kopeks
integer
required
active_subscriptions
integer
required
active_trials
integer
required
new_trials
integer
required
trial_to_paid_conversion
number
required
renewals_count
integer
required
addon_revenue_kopeks
integer
required