Skip to content
Справочник APIPlatformPlatform billing

Platform_billing_stats_overview

Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.

GET
/platform/v1/billing/stats/overview

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Header Parameters

X-Project-Id*string

UUID of the project that scopes consumer accounts, devices, sessions, and VSpaces for the request.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/platform/v1/billing/stats/overview" \  -H "X-Project-Id: 11111111-1111-1111-1111-111111111111"
{  "active_subs_count": 0,  "churn_rate_30d": 0.1,  "mrr_by_vendor": [    {      "currency": "string",      "refunded_minor": 0,      "revenue_minor": 0,      "vendor_type": "string"    }  ],  "refund_rate_30d": 0.1,  "trial_conversion_rate_30d": 0.1,  "trials_active": 0}
{  "detail": "Pool slug must be unique.",  "instance": "urn:forestvpn:trace:a1b2c3d4",  "title": "Validation Error",  "type": "https://fvpn.net/errors/validation"}