Import every Stripe subscription at once
An app that already bills in Stripe can scan its whole account, check the result as a dry run and import every ready subscription onto its BuildBase plans in one go.
Added
2- BillingImport existing Stripe subscriptions on the Stripe credentials page reads every active, trialing and past due subscription in your connected account and proposes a plan and a workspace for each: the plan by the price's amount and its monthly, quarterly or yearly interval, the workspace by a metadata key you name, a Stripe customer already linked to one, or the email of the person who owns one workspace. Scan Stripe (dry run) shows what is Ready, Legacy, Imported or a Conflict, with the reason, and writes nothing. You can map a price to another plan and scan again.
- BillingImporting puts each ready subscription on its workspace with no charge, proration or email, and records it in the subscription's history. It is safe to run again: an imported subscription is left as it is, and one that stopped can be sent again. A price that maps to no plan, or bills on another interval, stays legacy and Stripe keeps billing it as before. The API is POST /api/subscriptions/import/stripe/scan and POST /api/subscriptions/import/stripe/bulk, up to 100 subscriptions a request, beside the one-at-a-time POST /api/subscriptions/import/stripe.