Dodo Payments + Better Auth does not yet support organization-level billing out of the box like Stripe’s org/team billing model.
What you can do instead:
- Create one Dodo customer per organization
- Store the
customer_idon your org model - Attach subscriptions to that customer
- Map users → organization in your DB (outside Dodo)
Basic flow:
- Create org in your app
- Create Dodo customer for that org
- Start subscription using that customer
- Gate features based on subscription status
- Handle webhooks → update org subscription state
If you need per-seat billing or team-based pricing, you’ll need to implement that logic yourself on top.
If you want, I can sketch a minimal schema + flow.