Prerequisites
Before onboarding a business, you will need:- An active Layer account and API credentials
- A valid access token (see Initial Setup)
- Your customer’s basic business information (legal name, entity type, state)
Overview
The first step is to onboard your customer to Layer using the Create a Business endpoint. This creates a record for your customer in Layer’s systems and provisions their general ledger.1
Prepare business information
Gather the information about your customer’s business. We recommend providing as much information as possible to help Layer accurately classify transactions and provide a better experience for your customer:
legal_name- The business’s legal nameentity_type- One of:SOLE_PROP,C_CORP,LLC,S_CORP,PARTNERSHIPus_state- Two letter state codeexternal_id- Your internal ID for this business, useful for linking recordsphone_number- Used for SMS-based transaction categorizationunit_accounts- Array of Unit account IDs to linkplaid_items- Array of Plaid items to connect (requires Plaid configuration)
The
external_id field allows you to link the Layer business record to your own internal customer ID, making it easier to associate data between systems.2
Create the business
Make a POST request to the Create a Business endpoint with the business information. See the full endpoint documentation for request examples and all available parameters.
If you’ve configured Plaid credentials (see Plaid Configuration), you can link Plaid accounts during business creation by including the
plaid_items field.3
Save the business ID
The API responds with the created Business object. Save the
id field - you’ll use this to make API calls on behalf of this business.Next Steps
After onboarding a business, you can:- Import financial data - Start passing transaction data to Layer
- Set up transaction categorization - Enable your customers to categorize transactions
- Display accounting reports - Show profit & loss, balance sheet, and other reports
- Embed accounting components - Add Layer’s pre-built UI components to your platform