Sync checkout session

以 Markdown 格式查看

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.

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

session_id from Stripe success redirect

session_idstring可选

响应

data: {synced: true}

错误

400
Bad Request Error
402
Payment Required Error
403
Forbidden Error
422
Unprocessable Entity Error