GET /v1/admin/packages

Manage subscription packages

List and manage subscription packages (Platform Admin only)

Request

GET /v1/admin/packages

Parameters

[]

Response

{ "200": { "description": "Packages retrieved successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "type": "object", "properties": { "packages": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "price_monthly": { "type": "number" }, "price_yearly": { "type": "number" }, "is_popular": { "type": "boolean" }, "status": { "type": "string" }, "subscriber_count": { "type": "number" }, "monthly_revenue": { "type": "number" }, "features": { "type": "array", "items": { "type": "object", "properties": { "feature_key": { "type": "string" }, "feature_value": { "type": "string" }, "display_name": { "type": "string" } }, "required": [ "feature_key", "feature_value", "display_name" ] } } }, "required": [ "id", "name", "description", "price_monthly", "price_yearly", "is_popular", "status", "subscriber_count", "monthly_revenue", "features" ] } }, "summary": { "type": "object", "properties": { "total_packages": { "type": "number" }, "total_subscribers": { "type": "number" }, "total_mrr": { "type": "number" } }, "required": [ "total_packages", "total_subscribers", "total_mrr" ] } }, "required": [ "packages", "summary" ] } }, "required": [ "success", "data" ] } } } }, "403": { "description": "Platform admin access required" } }

View in Interactive API Reference