Skip to content

Subscription Analytics (Admin)​

GET
/bridge-payment/admin/subscriptions/analytics

Admin endpoint to get comprehensive subscription analytics including MRR, churn rate, growth metrics, and revenue trends. Supports filtering by date range, provider, status, and billing interval.

Authorizations​

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Parameters​

Query Parameters

start_date

Start date for analytics period

Typestring
Format"date"
end_date

End date for analytics period

Typestring
Format"date"
provider_id

Filter by payment provider

Typestring
status

Filter by subscription status

Typestring
billing_interval

Filter by billing interval

Typestring
Valid values
"daily""weekly""monthly""yearly"
group_by

Group analytics by time period

Typestring
Valid values
"day""week""month""year"
Default"month"

Responses​

Subscription analytics data

application/json
JSON
{
"success": true,
"data": {
"summary": {
"total_subscriptions": 0,
"active_subscriptions": 0,
"trial_subscriptions": 0,
"canceled_subscriptions": 0,
"total_mrr": 0,
"average_subscription_value": 0,
"churn_rate": 0
},
"by_interval": {
},
"by_status": {
},
"growth": {
},
"top_products": [
{
}
],
"revenue_trend": [
{
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI