Subscription Management
Authorizations
AuthorizationstringRequired
JWT token for user session authentication.
Responses
200
Subscription details retrieved successfully
application/json
Represents a user's subscription plan and usage
idstring · uuidRequired
The unique identifier for the subscription
user_idstring · uuidRequired
The ID of the user who owns the subscription
statusstring · enumRequiredPossible values:
The current status of the subscription
plan_namestringOptionalExample:
The name of the subscription plan
Pro Plangenerations_limitnumberRequiredExample:
Maximum number of generations allowed
50generations_usednumberRequiredExample:
Number of generations used in current period
23pages_limitnumberRequiredExample:
Maximum number of pages allowed
1000pages_usednumberRequiredExample:
Number of pages used in current period
450stripe_subscription_idstring · nullableOptional
Stripe subscription identifier
current_period_startstring · date-time · nullableOptional
Start of the current billing period
current_period_endstring · date-time · nullableOptional
End of the current billing period
created_atstring · date-timeRequired
When the subscription was created
updated_atstring · date-timeRequired
When the subscription was last updated
401
Unauthorized
application/json
404
No active subscription found
application/json
500
Internal Server Error
application/json
get
/getSubscriptionLast updated
