Skip to main content

Sync subscription by checkout session ID

GET 

/subscription/sync-by-session

Synchronizes user subscription from Stripe using checkout session ID. Used after successful payment when webhook might be delayed.

Security: Only syncs subscription if checkout session belongs to the current user (verified by matching customer email or stripe_customer_id).

Request​

Responses​

Subscription synced successfully