QBitFlow Documentation

    Complete guide to integrating cryptocurrency payments with QBitFlow

    Organization Structure & Roles

    Understanding how organizations, users, and roles work in QBitFlow is essential for effective team collaboration and payment management.

    Organization Hierarchy

    Organization

    Every user belongs to an organization. When you sign up, an organization is automatically created with you as the owner. An organization can have multiple members with different roles and permissions.

    User Roles

    QBitFlow has three distinct user roles, each with different permissions and capabilities:

    Owner

    Full Access

    The owner has complete control over the organization and all its resources.

    Permissions:

    • Full access to all organization resources
    • Manage organization settings and billing
    • Add, remove, and manage all users
    • Access organization-level wallets and revenue
    • Transfer ownership to another user

    Admin

    Organization-Level

    Admins have nearly the same privileges as the owner and operate at the organization level.

    Permissions:

    • Access organization-level wallets and shared revenue
    • Create and manage products
    • Manage customers and view all transactions
    • Generate and manage API keys
    • Cannot transfer ownership or delete the organization

    User

    User-Level

    Users operate independently within the organization with their own wallets and revenue streams.

    Permissions:

    • Receive payments to their own wallet (separate from organization)
    • Create products and manage their own inventory
    • View only their own transactions and customers
    • Subject to organization fee (if configured)
    • Cannot access organization-level resources

    Organization-Level vs User-Level

    Organization-Level (Owner & Admins)

    Revenue Sharing

    All payments go to shared organization wallets. Revenue is pooled and accessible by owners and admins.

    Use Case

    Best for businesses where the organization handles all billing and revenue management.

    Example

    A SaaS company where all subscriptions are managed centrally by the business.

    User-Level (Users)

    Independent Revenue

    Payments go directly to user's individual wallet. Each user manages their own revenue.

    Use Case

    Perfect for marketplaces where individual sellers or service providers need to receive payments.

    Example

    An online marketplace where each vendor receives payments for their own products.

    Organization Fees for Users

    Revenue Sharing Model

    Organizations can configure a fee percentage that is automatically deducted from user-level payments. This allows marketplace owners to generate revenue while enabling individual users to accept payments.

    Example:

    If a marketplace sets a 5% organization fee:

    • Customer pays $100 for a product from User A
    • QBitFlow receives the 1.5% fees ($1.50)
    • Organization receives 5% as the platform fee (5% of (100 - 1.5) = $4.925)
    • User A receives $93.575 in their wallet

    API Keys and Permissions

    Using API Keys

    When making API requests, the API key determines the scope and permissions:

    Organization-Level API Key (Owner/Admin)

    Payments and subscriptions created with this key will be credited to the organization's shared wallets. Use this when the organization is receiving the payment.

    User-Level API Key

    Payments created with this key will be credited to that specific user's wallet (minus any organization fee). Use this when a specific user within your organization is receiving the payment.

    💡 Choosing the Right Structure: If you're running a traditional business where all revenue goes to the company, use organization-level permissions (Owner/Admin). If you're building a marketplace where individual users need to receive payments, add them as Users with user-level permissions.