v1
latestOpenAPI 3.1.02026-08-06209117239.7 KBbilling
Sync tier from Stripe customer subscriptions into Supabase
post/billing/sync-subscription-from-stripe
Response
Uses stripe_customer_id on the current user to list active Stripe subscriptions, infers Memara tier from subscription prices (including lookup_key / product name), then updates Supabase. Use when webhooks never wrote tier/subscription_id (e.g. customer paid but raw_user_meta_data has only stripe_customer_id).