A workspace is the foundation of our billing system, think of it as your company’s complete billing and organizational container. It serves as a crucial middleware layer that seamlessly connects your user authentication (managed by Auth0) with payment processing (handled by Stripe), while providing robust resource management and usage tracking.

What is a Workspace?

A workspace represents a single customer account and contains everything needed to manage billing, organizations, and users. It’s designed for high-concurrency environments with built-in mechanisms for idempotency and race condition avoidance, ensuring reliable operations even under heavy load.

Core Components

Billing Accounts

Financial entities that hold payment methods and subscriptions. Each billing account is uniquely identified by its Stripe Customer ID and handles all monetary transactions.

Organizations

Hierarchical structures representing groups within your workspace that consume resources. They can model anything from departments and teams to franchises and reseller networks.

Members

Users with different access levels who can manage various aspects of the workspace:

  • Owners: Full control over workspace, billing, and members
  • Admins: Manage organizations, view billing, invite members
  • Viewers: Read-only access to workspace data

Billing Modes

The permanent configuration that determines how subscriptions and resources are allocated across your organizations. Choose from:

  • Single: One billing account for the entire workspace
  • Assigned: Separate billing accounts for different organizations
  • Pooled: Multiple billing accounts contributing to a shared resource pool

Key Features

Enterprise-Grade Reliability

  • Idempotency: Prevents duplicate operations when network issues cause retries
  • Race Condition Prevention: Ensures consistent state even with concurrent operations
  • High Concurrency Support: Built to handle thousands of simultaneous requests

Flexible Resource Management

  • Track multiple resource types (users, locations, SSO integrations)
  • Set limits at any organizational level
  • Automatic usage aggregation up the hierarchy

Seamless Integration

  • Auth0 Integration: Connects with your existing authentication system
  • Stripe Integration: Direct connection for payment processing
  • Dashboard Access: Easy management through the web interface

Getting Started

To begin using workspaces effectively:

  1. Choose Your Billing Mode: Select the mode that best fits your business structure (this choice is permanent)
  2. Set Up Billing Accounts: Connect your Stripe customers and add payment methods
  3. Create Organizations: Model your business structure with our hierarchical system
  4. Invite Team Members: Add users with appropriate roles
  5. Configure Subscriptions: Set up the resources your organizations need

What’s Next?