Authentication
Requires a valid JWT token in the Authorization header.Response
Current subscription plan: “FREE”, “BASIC”, “PRO”, or “ENTERPRISE”.
Subscription status: “ACTIVE”, “CANCELLED”, “EXPIRED”, “PAST_DUE”, “UNPAID”, or “TRIALING”.
Monthly price of the plan in MXN.
Start date of the current billing period (ISO 8601 format, null for FREE plan).
End date of the current billing period (ISO 8601 format, null for FREE plan).
Whether the subscription will be cancelled at the end of the current period.
Stripe customer ID (only present for paid plans).
Stripe subscription ID (only present for paid plans).
Plan limits and features.
Maximum number of profiles allowed (null = unlimited).
Maximum invoices per month (null = unlimited).
Maximum expenses per month (null = unlimited).
Whether PDF export is enabled.
Whether Excel export is enabled.
Report level: “basic”, “complete”, or “advanced”.
Support level: “none”, “email”, “priority”, or “dedicated”.
Whether API access is enabled.
Example Request
cURL
Example Response (FREE Plan)
Example Response (PRO Plan)
Error Responses
Unauthorized - Invalid or missing JWT token.
Internal server error.