Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.example.com/api/v1/billing/plan-limits
Obtener los límites y uso actual del plan
Authorization
Bearer {token}
{ "plan": "enterprise", "limits": { "max_projects": 999999, "max_cli_tools": 999999, "max_members": 999999, "skills_premium": true, "skills_parallel": true, "audit_cloud": true }, "usage": { "projects": 3, "members": 1 } }
GET /api/v1/billing/subscription
{ "plan": "premium", "status": "active", "stripe_subscription_id": "sub_...", "current_period_end": "2026-05-04T12:00:00" }
POST /api/v1/billing/create-checkout
{ "success_url": "https://app.nexus.dev/dashboard/billing?session_id={CHECKOUT_SESSION_ID}", "cancel_url": "https://app.nexus.dev/dashboard/billing" }
{ "checkout_url": "https://checkout.stripe.com/c/pay/cs_...", "session_id": "cs_..." }
POST /api/v1/billing/confirm-subscription
{ "session_id": "cs_..." }
{ "plan": "premium", "status": "active", "message": "Suscripción activada exitosamente" }
POST /api/v1/billing/create-portal
{ "return_url": "https://app.nexus.dev/dashboard/billing" }
{ "portal_url": "https://billing.stripe.com/p/session/..." }