---
title: "Businesses"
description: "A business is an independent book inside your organization: its own catalogue, its own currencies, its own payment gateways, its own customers."
canonical_url: "https://twominutebilling.com/help/developers/api-reference/businesses"
---
# Businesses

> A business is an independent book inside your organization: its own catalogue, its own currencies, its own payment gateways, its own customers.

A business is an independent book inside your organization: its own catalogue, its own currencies, its own payment gateways, its own customers. Two businesses share nothing but the account they belong to, which is how one organization sells under several brands or in several countries without their data or their numbering ever mixing.

Each business has a **live mode and a test mode**: two business ids, created together. The test mode (`test_business_id` on the live business) starts as a copy of the live settings and is independent after that; move catalog and settings between them with a configuration transfer. Test keys reach only test mode and live keys only live mode. Test mode is where you rehearse: it can seed sample data, its Time Travel moves a simulated clock forward so you can watch a year of renewals, dunning and expiry in minutes, it sends email only to your team members, and nothing it produces reaches a live webhook endpoint.

## Endpoints

<table>
<thead>
  <tr>
    <th>
      Method
    </th>
    
    <th>
      Endpoint
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/whether-image-uploads-are-available-on-this-depl">
        <code>
          /v1/brand_images/capability
        </code>
      </a>
    </td>
    
    <td>
      Whether image uploads are available on this deployment
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/list-businesses">
        <code>
          /v1/businesses
        </code>
      </a>
    </td>
    
    <td>
      List businesses
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/create-a-business">
        <code>
          /v1/businesses
        </code>
      </a>
    </td>
    
    <td>
      Create a business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/fetch-a-business">
        <code>
          /v1/businesses/{biz}
        </code>
      </a>
    </td>
    
    <td>
      Fetch a business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PATCH
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/update-a-business">
        <code>
          /v1/businesses/{biz}
        </code>
      </a>
    </td>
    
    <td>
      Update a business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/list-a-business-s-audit-logs">
        <code>
          /v1/businesses/{biz}/audit_logs
        </code>
      </a>
    </td>
    
    <td>
      List a business's audit logs
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/get-one-audit-record">
        <code>
          /v1/businesses/{biz}/audit_logs/{id}
        </code>
      </a>
    </td>
    
    <td>
      Get one audit record
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/upload-a-brand-image">
        <code>
          /v1/businesses/{biz}/brand_images
        </code>
      </a>
    </td>
    
    <td>
      Upload a brand image
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/list-the-business-s-currencies">
        <code>
          /v1/businesses/{biz}/currencies
        </code>
      </a>
    </td>
    
    <td>
      List the business's currencies
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/get-one-currency">
        <code>
          /v1/businesses/{biz}/currencies/{currency}
        </code>
      </a>
    </td>
    
    <td>
      Get one currency
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PUT
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/set-one-currency-s-exchange-rate-source">
        <code>
          /v1/businesses/{biz}/currencies/{currency}
        </code>
      </a>
    </td>
    
    <td>
      Set one currency's exchange-rate source
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        DELETE
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/stop-transacting-in-a-currency">
        <code>
          /v1/businesses/{biz}/currencies/{currency}
        </code>
      </a>
    </td>
    
    <td>
      Stop transacting in a currency
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/seed-sample-data">
        <code>
          /v1/businesses/{biz}/sample_data
        </code>
      </a>
    </td>
    
    <td>
      Seed sample data
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        DELETE
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/delete-sample-data">
        <code>
          /v1/businesses/{biz}/sample_data
        </code>
      </a>
    </td>
    
    <td>
      Delete sample data
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/list-team-alert-recipients-and-their-confirmatio">
        <code>
          /v1/businesses/{biz}/team_alert_recipients
        </code>
      </a>
    </td>
    
    <td>
      List team alert recipients and their confirmation state
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/send-the-confirmation-email-to-a-pending-team-al">
        <code>
          /v1/businesses/{biz}/team_alert_recipients/resend
        </code>
      </a>
    </td>
    
    <td>
      Send the confirmation email to a pending team alert recipient again
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        DELETE
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/delete-test-data">
        <code>
          /v1/businesses/{biz}/test_data
        </code>
      </a>
    </td>
    
    <td>
      Delete test data
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/get-the-customer-and-subscription-limits-of-a-te">
        <code>
          /v1/businesses/{biz}/test_limits
        </code>
      </a>
    </td>
    
    <td>
      Get the customer and subscription limits of a test business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/open-the-test-mode-of-a-business">
        <code>
          /v1/businesses/{biz}/test_mode
        </code>
      </a>
    </td>
    
    <td>
      Open the test mode of a business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/get-time-travel-status">
        <code>
          /v1/businesses/{biz}/time_travel
        </code>
      </a>
    </td>
    
    <td>
      Get Time Travel status
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/travel-the-simulated-clock-forward">
        <code>
          /v1/businesses/{biz}/time_travel/advance
        </code>
      </a>
    </td>
    
    <td>
      Travel the simulated clock forward
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/start-time-travel">
        <code>
          /v1/businesses/{biz}/time_travel/start
        </code>
      </a>
    </td>
    
    <td>
      Start Time Travel
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/stop-time-travel">
        <code>
          /v1/businesses/{biz}/time_travel/stop
        </code>
      </a>
    </td>
    
    <td>
      Stop Time Travel
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/list-past-configuration-transfers">
        <code>
          /v1/businesses/{biz}/transfer_configurations
        </code>
      </a>
    </td>
    
    <td>
      List past configuration transfers, newest first
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/run-a-configuration-transfer-to-another-business">
        <code>
          /v1/businesses/{biz}/transfer_configurations
        </code>
      </a>
    </td>
    
    <td>
      Run a configuration transfer to another business
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/get-a-transfer-configuration-job">
        <code>
          /v1/businesses/{biz}/transfer_configurations/{job}
        </code>
      </a>
    </td>
    
    <td>
      Get a transfer configuration job
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/businesses/preview-a-configuration-transfer">
        <code>
          /v1/businesses/{biz}/transfer_configurations/preview
        </code>
      </a>
    </td>
    
    <td>
      Preview a configuration transfer, field by field
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
