Skip to content

Business billing ​

One person can own several Personal workspaces and participate in independently subscribed Business workspaces. The workspace you are using determines its capabilities and billing. Buying Business does not make your identity, your Personal subscription, or all your workspaces Business.

One Business purchase pays for exactly one Business workspace. After payment is verified, the purchasing owner or authorized billing owner must complete Business Workspace Onboarding. Read the explanation, explicitly choose an eligible owned Personal workspace to convert or create a new Business workspace, review the plan and initial seats, and confirm the choice. No workspace is selected automatically. You can leave and resume setup while continuing to use Personal workspaces.

The review explains which workspace receives Business capabilities, who owns billing, and what conversion changes. Conversion moves only compatible resources owned by the selected workspace. Your other Personal workspaces, Personal Twin, private memories, Personal subscriptions, and credentials remain independent. A workspace with incompatible members, connections, configuration, or resource dependencies cannot be converted; create a new Business workspace instead. The default Personal workspace is retained as your Personal home.

Each additional Business workspace requires its own purchase or an explicit enterprise agreement. Switching workspaces does not share the first subscription with another workspace.

Buy a Business workspace and check its status ​

Select Business in Billing and choose a plan. On the Business configuration page, choose the billing cycle and the number of seats, then subscribe. You continue to a secure hosted checkout that stays valid for two hours and charges for exactly the seats you chose. A purchase becomes active only when the payment provider's verified payment reaches Chainabit. Returning from checkout, opening a link, or an invitation never activates a purchase. Your Personal workspaces stay available while a purchase is unresolved.

Start a purchase with a seat count ​

The Billing page calls POST /billing/checkout. It requires a JWT, the owner or billing role, the selected X-Account-Id and X-Workspace-Id, and a fresh Idempotency-Key. At most five checkout requests are accepted per minute; a rate-limited request returns 429 with Retry-After.

Request fieldTypeMeaning
variantIdstring (UUID)The identifier of the plan variant you selected.
purchasePurposestringnew_business buys a separately subscribed Business workspace. existing_account manages the current billing account.
seatsinteger, optionalSeats the checkout charges for its first billing period. A new Business buys one seat when it is omitted.

Business plans are billed per seat and accept 1 to 500 seats through self-service. Sending seats for a plan that is not billed per seat returns 400. A seats value that is not a whole number of at least 1 returns 400 with bad_request. A value above 500 returns 409 with billing_seat_quantity_limit_exceeded and details.minimum and details.maximum; larger teams contact us. A refused request creates no checkout and never reaches the payment provider.

curl -s -X POST "https://api.chainabit.com/api/v1/billing/checkout" \
  -H "Authorization: Bearer $CHAINABIT_TOKEN" \
  -H "X-Account-Id: $ACCOUNT_ID" \
  -H "X-Workspace-Id: $WORKSPACE_ID" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"variantId\":\"$VARIANT_ID\",\"purchasePurpose\":\"new_business\",\"seats\":7}"
json
{
  "data": {
    "checkoutUrl": "https://store.example.com/checkout/custom/<id>?expires=<unix>&signature=<hex>",
    "checkoutIntentId": "<checkoutIntentId>",
    "purchasePurpose": "new_business"
  }
}

The price is the plan's per-seat price multiplied by the seats you chose, for the first billing period. After that period the subscription quantity follows the billable members, as described in Membership changes and charges.

Check a purchase ​

Check a purchase with its checkoutIntentId:

curl -s "https://api.chainabit.com/api/v1/billing/checkout/$CHECKOUT_INTENT_ID" \
  -H "Authorization: Bearer $CHAINABIT_TOKEN"
json
{
  "data": {
    "checkoutIntentId": "<checkoutIntentId>",
    "purchasePurpose": "new_business",
    "status": "pending",
    "reason": "awaiting_checkout_completion",
    "variantId": "<variantId>",
    "billingCycle": "monthly",
    "seats": 7,
    "accountId": null,
    "workspaceId": null,
    "resumeCheckoutUrl": "https://store.example.com/checkout/custom/<id>?expires=<unix>&signature=<hex>",
    "expiresAt": "2026-10-19T09:59:00.434Z"
  }
}

status is pending, onboarding_required, ready, failed, or expired. While it is pending, reason says what the purchase is waiting for:

ReasonMeaning and next step
awaiting_checkout_completionNo payment has reached Chainabit for this checkout. Finish it with resumeCheckoutUrl before expiresAt.
awaiting_payment_confirmationThe checkout link has expired. A payment made just before expiry can still arrive; check again shortly.
activation_in_progressPayment is verified. The Business workspace and licensed seats are being prepared.
awaiting_subscription_itemA trial started and the provider has not yet confirmed the seat. A later provider update completes it.
receipt_rejectedA payment reached Chainabit but did not match this purchase. Nothing was set up and the payment is preserved. Contact support with the checkoutIntentId.
checkout_creation_in_progress, checkout_creation_retry_requiredThe hosted checkout is being created, or its creation should be retried with the same plan.

Only one unfinished Business checkout can exist for you at a time, and an issued checkout is never changed. While its link is valid, requesting the same plan, cycle and seats again returns the same hosted checkout. Requesting a different plan, billing cycle or seat count while no payment has reached your unfinished checkout replaces it: the response is a new hosted checkout with a new checkoutIntentId, and the earlier one reports expired. Replaying the same Idempotency-Key repeats the first response and never creates another checkout.

Once a payment has reached your unfinished checkout, or while its hosted page is still being created, another plan, cycle or seat count returns 409 with billing_business_purchase_pending instead, so a purchase that is already paid is never replaced:

json
{
  "error": {
    "code": "billing_business_purchase_pending",
    "message": "A Business purchase is awaiting completion. Verify that purchase before starting another.",
    "details": {
      "checkoutIntentId": "<checkoutIntentId>",
      "variantId": "<variantId>",
      "billingCycle": "monthly",
      "seats": 7,
      "reason": "receipt_rejected",
      "expiresAt": "2026-10-19T09:59:00.434Z"
    }
  },
  "meta": { "requestId": "<requestId>" }
}

details describes the purchase that is waiting, including its seats and reason, so a client can show its status. resumeCheckoutUrl is present only while no payment has reached it. A payment that still arrives through a replaced or expired checkout link activates that purchase exactly once, for the plan and seats it was issued with. Repeated status checks never start a second charge.

Who can manage billing ​

Money-moving and billing-record routes belong to the account owner and billing roles only. An admin, member, analyst, or viewer receives 403 with enterprise_insufficient_account_role and the message Insufficient account role. An admin's authority over membership and workspaces does not include billing authority.

RouteAllowed roles
GET /billing/invoicesowner, billing
POST /billing/checkoutowner, billing
POST /billing/discounts/redeemowner, billing

The role check runs before the request body is validated, so a caller without billing authority receives 403 even when the body is incomplete. A caller with billing authority and an incomplete body receives 400 with bad_request.

curl -s "https://api.chainabit.com/api/v1/billing/invoices" \
  -H "Authorization: Bearer $ADMIN_TOKEN" \
  -H "X-Account-Id: $ACCOUNT_ID" \
  -H "X-Workspace-Id: $WORKSPACE_ID"
json
{
  "error": {
    "code": "enterprise_insufficient_account_role",
    "message": "Insufficient account role",
    "details": {
      "code": "enterprise_insufficient_account_role",
      "message": "Insufficient account role"
    }
  },
  "meta": {}
}

The same request with an owner or billing token returns 200.

Who occupies a seat ​

Every active human member occupies one paid seat, including the owner and members with admin, member, analyst, billing, or viewer roles. Suspending a member stops their access but retains their assigned paid seat; explicitly remove the member or release the assignment to reduce the renewal quantity. A role determines permissions; it does not make a human member exempt from licensing. The owner remains a required licensed member.

Pending invitations do not occupy paid seats. Sending, resending, revoking, or letting an invitation expire does not increase the subscription quantity. Accepting an invitation starts the membership and seat activation process. The new member can start billable Business usage only after their seat is licensed and billing has confirmed the required quantity and its paid capacity. A quantity update or successful invitation alone does not prove payment. Invited members receive a short introduction to the workspace, their role, organization-owned resources, and privacy boundaries; they cannot choose or create another workspace from the owner’s purchase.

Agents and automations do not receive independent human seats. Their billable operations still need a valid acting member's entitlement.

Billable assigned members, including retained suspended seatsRequired paid seats
11
22
77
99

Membership changes and charges ​

Before an owner adds a billable member, the confirmation shows the applicable plan, current and resulting billable seats, recurring price change, and the expected charge timing. Invitations are approved when sent but become billable only when accepted. An expired or changed preview must be refreshed before commitment. A later plan or price change requires renewed approval.

For new paid capacity, Chainabit requests immediate prorated collection. The provider must confirm a paid invoice before that capacity becomes usable. The displayed estimate excludes applicable tax and discounts; the provider’s invoice determines the charge. Seat decreases lower the next renewal quantity without a mid-period refund. Reusing capacity already paid for in the current window produces no additional immediate charge, but restoring a higher subscription quantity increases the next renewal price and requires disclosure.

Removing a member revokes their Business access and records the billing change. Suspension retains the paid assignment. A failed or uncertain provider response leaves a visible pending or review state with a recovery path; it does not silently enable an unpaid seat or repeat an uncertain charge.

Subscription seats and paid-through license capacity can differ after a decrease. For example, removing one member from three confirmed seats can leave two subscription seats, three licenses paid through the current allowance window, two assigned licenses, and one available license. An eligible replacement reuses that paid license and its remaining allowance; the lower subscription quantity determines future billing.

Billing confirmation can take longer than a membership change. During that interval, billing settings may show a pending change and a difference between purchased seats and required seats. A pending seat does not authorize usage. Changing a member's role, switching workspaces, or removing someone from only one workspace does not transfer subscription ownership or cancel their account-level seat.

Review a Business seat change ​

POST /billing/seats/preview prepares the financial review for the selected Business workspace. It requires a JWT and an owner, admin, or billing role. Review the resulting quantity and charge timing before sending the matching invitation or membership request; requesting a preview alone does not approve a charge or grant membership permissions.

An admin can preview changes that do not add paid capacity. A preview whose chargeMode would be immediate_prorated is a request to approve a new seat charge, so only the owner or a billing member can obtain it: an admin receives 403 with billing_seat_charge_authority_required and the message This change adds a paid seat. Only the account owner or a billing member can approve a new seat charge.

Send the selected X-Account-Id and X-Workspace-Id, and a fresh Idempotency-Key for each POST. The review expires after 30 minutes and is tied to the actor, subscription, price, action, subjects, role, selected workspace IDs, and current billing revision. A changed or expired review must be refreshed. Membership and invitation changes still require their own administration permissions.

Request fieldTypeMeaning
actionstringinvite, add, activate, remove, or release
subjectsstring[]1–50 email addresses for invite; user UUIDs for the other actions
rolestring, optionaladmin, member, billing, analyst, or viewer
workspaceIdsstring[], optionalAt most one workspace UUID; include the invitation's explicit workspace grant

The response's data includes billingConsentId, expiresAt, action, subjects, plan (name, interval, currency, unitPrice), currentBillableSeats, resultingBillableSeats, recurringPriceChange, estimatedImmediateAmount, and chargeMode. Prices use the plan currency's major units. The immediate amount is an estimate and can be null; the provider invoice determines final proration, tax, and discounts.

chargeModeExpected behavior
immediate_proratedRequest immediate prorated collection for new paid capacity; activation waits for a verified paid invoice.
none_reused_capacityReuse current paid capacity without an immediate charge; the review still discloses any renewal increase.
next_renewalReduce renewal quantity without a mid-period refund.
no_quantity_changeThe reviewed action does not change subscription quantity.

commitmentOn is acceptance for invitations and now for membership actions. pendingInvitesBillable is false; suspendedSeatsRetained is true. Sending an approved invitation stores its financial terms; acceptance rechecks the terms and the approving administrator's authority. It does not charge for a pending invitation.

curl -X POST "https://api.chainabit.com/api/v1/billing/seats/preview" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Account-Id: $ACCOUNT_ID" \
  -H "X-Workspace-Id: $WORKSPACE_ID" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"action\":\"invite\",\"subjects\":[\"$INVITEE_EMAIL\"],\"role\":\"member\",\"workspaceIds\":[\"$WORKSPACE_ID\"]}"

After reviewing, use billingConsentId in the matching invitation request or member addition/activation body. Removal uses the billingConsentId query parameter. The CLI accepts the reviewed ID with --billing-consent; it never approves financial terms automatically.

Included usage belongs to the acting member ​

Each licensed member has their own included allowance under the Business plan. One member cannot borrow another member's remaining allowance, including the owner's. That allowance belongs to the licensed member in the selected Business workspace. Another independently subscribed workspace has its own entitlement and usage attribution.

The plan's allowance window and the subscription's billing period are separate concepts. For example, an annual subscription may distribute its included allowance monthly. Follow the effective plan's allowance window rather than assuming every new invoice or workspace switch resets usage.

A newly activated paid license receives a prorated first allowance for the remainder of the allowance window. Replacing a member on an existing paid license reuses that license's remaining allowance for the window; it does not create a fresh grant. Reactivating a license does not reset its first licensing date or grant another allowance for the same window.

Business billing settings show licensed seats and the included allowance per member. A credit pack does not extend a Business seat's included allowance. Personal credit purchases retain their existing behavior.

Usage remains attributable to the member who initiated the operation, the Business account, the workspace, and the effective licensed entitlement and billing period. Switching workspaces later does not change who funded earlier usage. Removing a member preserves the history needed to investigate past usage and invoices.

Optional member usage budgets ​

Business accounts can set optional administrative usage budgets without changing purchased seats or paid license allowances. Owners and admins can manage eligible members' budgets; they cannot set their own budget or the owner's. Billing and analyst roles can review member budgets, and each member can review their own. Personal accounts do not have this Business governance feature.

Budgets apply to a UTC calendar month and include both settled usage and outstanding reservations. Zero blocks new usage. An absent budget means no administrative ceiling is configured; it does not mean unlimited usage or grant another member's allowance. The owner is exempt only from this administrative ceiling and still requires a paid license with an available allowance. Removing a budget leaves licensed allowance limits in place.

Billing status and availability ​

Billing settings distinguish the subscription status from the status of a seat change:

Seat billing statusWhat it means
SynchronizedThe confirmed purchased quantity matches the required licensed seats.
PendingA membership or subscription change is awaiting billing confirmation. A new pending seat cannot start Business usage.
Payment pendingThe required capacity is waiting for a verified paid invoice.
Review requiredBilling evidence or financial authorization needs review before activation. An uncertain charge is not automatically repeated.
Legacy reviewAn existing Business subscription needs an explicit licensing review before seat activation. Historical usage is retained.
FailedBilling confirmation could not be completed. The change needs attention and remains subject to retry and review.

An unknown purchased quantity, seat price, or allowance means that information is unavailable; it does not mean zero price, unlimited allowance, or a free seat. Billing settings do not promise a next invoice amount without authoritative pricing information.

Billing settings show subscription seats, paid-through license capacity, assigned and pending seats, available licenses, billable members, the seat price when known, the allowance per licensed member, and the subscription and reconciliation statuses. Use these values to distinguish a pending membership change from confirmed licensed access.

If a compatible Business plan has not been activated, settings can show the required seats while the purchased quantity and price remain unavailable. Membership and an owner's Personal subscription do not activate Business licensing.

A failed payment, unpaid subscription, or paused subscription prevents new Business usage. Once the subscription is valid again, an active licensed member can resume within their effective allowance. Cancelling a subscription allows existing licensed access through its confirmed paid-through period; expiration ends that access. New, replacement, or pending seats cannot activate after cancellation until payment collection has been authoritatively resumed. Seat decreases continue to reconcile. Cancellation affects only the subscribed Business workspace. After paid access expires, the workspace remains Business with retained data and restricted access; it is not converted to Personal. Your independent Personal workspaces remain usable under their own entitlements. Previously admitted operations can still settle against their original recorded entitlement.

The subscription management portal is available only when billing can verify that its customer history belongs exclusively to the selected account. If a historical customer is shared between Personal and Business accounts, or its ownership cannot be confirmed, portal access is unavailable for both accounts. Refresh billing information or contact support; membership permissions do not grant access to another account's payment history.

Existing Business subscriptions ​

An older subscription that funded shared usage must be reviewed before it becomes a seat subscription. Current active billable memberships determine the required quantity, and the plan must explicitly support Business licensing. Review does not invent a new plan, promise a price, or silently charge a different quantity.

Until the transition is confirmed, the account may show legacy review or pending activation. Personal subscriptions remain Personal. Historical shared usage keeps its original attribution; it is not rewritten as if it had belonged to newly assigned seats. A failed transition remains visible and can be retried without creating another membership or seat assignment.

Personal and Business data stay separate ​

Licensing pays for usage; it does not grant access to someone else's data. A person's Chao history, Personal Twin, private behavioral state, Personal connectors, and credentials remain personal when they join a Business account.

Business connections and shared data sources have explicit Business workspace ownership and permission checks. Using a Personal connection in Business still requires the applicable administrator policy and its owner's explicit consent. A paid seat never replaces those permissions, copies credentials, or makes a Personal Twin available to the team.

See Accounts, Account invitations, Connector reference, and AI Twins for their separate access and lifecycle contracts.

Built with purpose. chainabit.com