Get the analytics summary
Returns a pragmatic per-community rollup: monthly recurring revenue, active subscribers, and recent signups and cancels.
Authorization
apiKey Community-scoped API key. Send it as Authorization: Bearer arclt_live_.... Keys carry scopes; endpoints that need a specific scope answer 403 missing_scope when the key lacks it.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/analytics/summary"{
"mrr_cents": 128400,
"currency": "usd",
"active_subscribers": 214,
"recent_signups": 18,
"recent_cancels": 4
}{
"type": "https://docs.arcalotl.com/api/errors#not_found",
"title": "Not Found",
"status": 404,
"detail": "The requested resource was not found.",
"code": "not_found"
}{
"type": "https://docs.arcalotl.com/api/errors#not_found",
"title": "Not Found",
"status": 404,
"detail": "The requested resource was not found.",
"code": "not_found"
}GETGet a purchase
Returns one purchase by id.
POSTCreate a hosted checkout link
Creates a real hosted checkout session for a buyer identified by a platform identity, and returns its URL. The tier must exist and be active within the community, the community must have an active payment provider and a configuration for the buyer's platform, and the buyer must be eligible (not already subscribed to the tier). `plan_id` may be omitted when the tier has exactly one active plan; otherwise the call answers `422 plan_required`. `expires_at` is present only when the provider reports a session expiry; Stripe hosted sessions otherwise expire per Stripe's defaults (24h). Supply an `Idempotency-Key` header to make retries safe.