EcliPanel’s billing system links plans to users and organisations through orders. A plan defines resource limits (RAM, disk, CPU, server count, email quotas, and tunnel ports). An order records the transaction and generates a PDF invoice. Admin endpoints let staff apply or cancel a plan for any user without requiring a payment flow.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/thenoname-gurl/EcliPanel/llms.txt
Use this file to discover all available pages before exploring further.
All billing endpoints return
503 with {"error":"feature_disabled"} when the billing feature flag is off. Check the panel settings if you receive this response.Plans
List plans
GET /api/plans
Returns all plans that are not hidden from the billing interface, ordered by price ascending. No authentication required.
Plan ID.
Plan display name.
Plan category:
free, paid, edu, or enterprise.Monthly price in the panel’s configured currency.
Total RAM in megabytes.
Total disk in megabytes.
Total CPU percentage across all servers.
Maximum number of servers.
Maximum number of databases.
Maximum number of backups.
Ports available per server.
Tunnel ports available.
Additional plan-specific feature flags.
Get plan by ID
GET /api/plans/:id
Plan ID.
Orders
List orders
GET /api/orders
Returns orders belonging to the authenticated user. If the user is an admin or owner of an organisation, orders belonging to that organisation are also included.
Order ID.
Order status:
pending, active, cancelled, or expired.Order total.
Human-readable description derived from order items.
Associated plan ID, if applicable.
ISO 8601 creation timestamp.
Get order by ID
GET /api/orders/:id
Order ID.
Download invoice
GET /api/orders/:id/invoice
Returns a PDF invoice for the specified order. The response Content-Type is application/pdf.
Order ID.
Admin plan management
The following endpoints let administrators apply or cancel plans for any user without going through the payment flow. They are intended for manual provisioning, comped accounts, and educational tier management.Apply a plan to a user
POST /api/admin/users/:id/apply-plan
Required permission: admin
User ID.
Plan ID to apply.
Internal notes about why the plan was applied manually.
Whether the plan was applied.
The created order record.
Cancel a user’s plan
POST /api/admin/users/:id/cancel-plan
Required permission: admin
User ID.
Whether the plan was cancelled.
Get user’s current plan
GET /api/admin/users/:id/current-plan
Required permission: admin
User ID.