Verify and sync subscription status from Polar API.
Required Role: VIEWER or higher
This endpoint fetches the current customer state directly from Polar’s API and syncs it to the local database. Use this after checkout to ensure the subscription status is up-to-date (in case webhooks are delayed).
Returns the fresh subscription status after syncing.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Unified subscription response for both FREE and PRO tiers.
This schema handles both FREE tier teams (no subscription record) and PRO tier teams (with full subscription details).
For FREE tier:
For PRO tier:
True if team has a subscription record
Subscription tier (free or pro)
True if PRO tier is currently active
Subscription UUID
Team UUID
Polar subscription status (active, canceled, unpaid, etc.)
Billing period start (ISO format)
Billing period end (ISO format)
If true, subscription will end at current_period_end
Cancellation timestamp (ISO format)
Subscription amount in dollars (e.g., 20.00)
Currency code (usd)
Polar subscription ID
Polar customer ID