Skip to main content
GET
Retrieves the current subscription status directly from Stripe, including trial information if the subscription is in a trial period.
Authentication Required: This endpoint requires a Clerk JWT token with organization context. The organization is determined from the org_id claim in the token.

Request Headers

string
required
Bearer token with organization context: Bearer {clerk_jwt_token}

Response

string
Subscription status from Stripe: trialing, active, canceled, past_due, unpaid, incomplete, incomplete_expired, or none if no subscription exists.
integer | null
Unix timestamp (seconds) when the trial ends. Only present if status is trialing.
integer | null
Number of days remaining in the trial period. Only present if status is trialing.

Errors

Usage