Sync checkout session
Verifies a Stripe Checkout Session by session_id and syncs the subscription to the local DB. Use as webhook fallback when the Stripe Webhook is delayed or missing.
Headers
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
Request
session_id from Stripe success redirect
session_id
Response
data: {synced: true}
Errors
400
Bad Request Error
402
Payment Required Error
403
Forbidden Error
422
Unprocessable Entity Error