v1

latestOpenAPI 3.1.02026-08-06209117239.7 KB
billing

Confirm Stripe Checkout and sync tier to Supabase

Client-side recovery for tier upgrades: Stripe redirects with session_id before webhooks may have updated Supabase.

post/billing/confirm-checkout-session

Request body

session_idstring required

Stripe Checkout Session id (cs_...)

Response

Verifies a completed Checkout Session with Stripe and updates the current user's tier in Supabase. Use when webhooks are delayed or misconfigured (e.g. staging).

tierstring required
syncedboolean
subscription_idstring nullable