Billing & plans
Subscriptions, AI-token balances, and the seller marketplace.
Plans and entitlements
Workspaces subscribe to plans; one central resolver decides what a plan allows. Prepaid AI-token packs draw down before daily caps apply.
Payments
Payment runs on the operator’s payment-provider account with hosted checkout and a verified webhook — fulfilment follows confirmed payment, never the redirect.
The seller marketplace
Workspaces can onboard as sellers and offer paid packs to other workspaces. Payouts ride hosted seller accounts; buyers pay by destination charge with a platform fee; paid listings require operator approval before going live.
Money rules
Money records are never lost to configuration: payments, payouts, refunds, and disputes are recorded even if a feature was toggled off in between, and every money mutation is idempotent under retries.