Onboard a business
Create a business and its associated people, upload documents, and submit the business for review.
Onboard a business in five steps: create the people, link them to the business, upload documents, submit each associated individual for review, then submit the business. To onboard a person as a customer in their own right, see Onboard an individual.
Before you begin
- Get an API token. See Authentication.
- Send a new
Idempotency-Keyon every create, association, upload, and review-submit request. See Idempotency. - Collect the business's identity, registered and mailing addresses, financial, operational, regulatory, and listing profiles, its directors and beneficial owners, and the required documents.
Every request in this guide goes to https://api.sandbox.roots.finance with Authorization: Bearer rts_live_....
Required documents
The business needs at least one document for each of its four requirements, and every individual linked to it needs their own identity document and proof of address. Roots works out which requirement a document meets from its type:
| For | Requirement | type values that meet it |
|---|---|---|
| The business | formation | articles_of_incorporation, incorporation_documents, ownership_breakdown, ownership_chart, lease_agreement |
| The business | proof_of_source_of_funds | bank_statement, term_sheet, financial_statement |
| The business | proof_of_address | lease_agreement, utility_bill, bank_statement |
| The business | proof_of_operations | invoice, bill_of_lading, commercial_contract |
| Each associated individual | identity | passport, or both national_id_front and national_id_back, or both drivers_license_front and drivers_license_back |
| Each associated individual | proof_of_address | lease_agreement, utility_bill, bank_statement |
One document can meet more than one requirement: a bank_statement counts as both proof of address and proof of source of funds. So the smallest set for the business is three documents, for example articles_of_incorporation, bank_statement, and invoice, plus two per associated individual, for example a passport and a utility_bill.
other, and a business's regulatory_license (its license to operate, such as a money transmitter license), are stored but meet no requirement. A missing requirement is listed in the submit's 422 violations, for example documents.proof_of_operations with code document_group_empty.
1. Create the business
Create the business with POST /api/v1/persons and type: "business". Only type and details.business_name are required at create, so you can save the record and complete it with PATCH /api/v1/persons/{person_id} before you submit it.
curl https://api.sandbox.roots.finance/api/v1/persons \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Idempotency-Key: 6f0c2a4e-business-acme" \
-H "Content-Type: application/json" \
-d '{
"type": "business",
"role": "customer",
"external_id": "cust-10442",
"details": {
"business_name": "Acme Trading LLC",
"phone": "+12125550100",
"email": "[email protected]",
"tax_number": "84-1234567",
"tax_number_country": "US",
"incorporation_number": "DE-7781234",
"incorporation_date": "2019-04-02",
"incorporation_country": "US",
"incorporation_state": "Delaware",
"legal_structure": "LLC",
"business_type": "Retail / e-commerce",
"business_description": "Online retailer of home goods"
},
"registered_address": {
"line1": "251 Little Falls Drive",
"city": "Wilmington",
"state": "Delaware",
"postal_code": "19808",
"country": "US"
},
"mailing_address": {
"line1": "1 Main Street",
"city": "New York",
"state": "New York",
"postal_code": "10001",
"country": "US"
},
"financial": {
"primary_source_of_funds": "Revenue from sales",
"expected_transaction_volume": 200,
"expected_transaction_value": "100k_1m",
"total_assets_value": "1m_10m",
"source_of_funds_description": "Card and marketplace settlements"
},
"operational": {
"account_purpose": "Supplier payments",
"business_jurisdictions": ["US"],
"send_jurisdictions": ["US"],
"receive_jurisdictions": ["US"],
"engages_in_activities": ["ecommerce"],
"counterparty_types": ["business"]
},
"regulatory": {"regulated_status": false},
"listing": {"is_publicly_listed": false}
}'The response is a PersonDetail. Save its id (person_...). A new person has status pending and status_detail onboarding_incomplete, and requirements.currently_due lists onboarding_data until its onboarding data is complete.
regulatory.risk_tier cannot be set by you; the review sets it. If you send regulatory, answer regulated_status explicitly.
2. Create and link associated people
Create each director, officer, signatory, and beneficial owner as an individual with POST /api/v1/persons. Leave role out, or set it to null, for a person who is only part of the ownership structure; only a customer or own person can own an account.
{
"type": "individual",
"role": null,
"details": {
"first_name": "Maria",
"last_name": "Lopez",
"date_of_birth": "1984-06-12",
"nationality": "US",
"occupation": "Managing director",
"phone": "+12125550111",
"email": "[email protected]",
"tax_number": "123-45-6789",
"tax_number_country": "US"
},
"mailing_address": {
"line1": "40 West 20th Street",
"city": "New York",
"state": "New York",
"postal_code": "10011",
"country": "US"
},
"financial": {
"primary_source_of_funds": "Salary",
"expected_transaction_volume": 10,
"expected_transaction_value": "under_10k",
"total_assets_value": "100k_1m",
"source_of_funds_description": "Employment income"
},
"operational": {"account_purpose": "Beneficial owner of Acme Trading LLC"}
}Link each person to the business with POST /api/v1/persons/{person_id}/associations, where person_id is the business:
| Field | Required | Values |
|---|---|---|
associated_person_id | Yes | The individual's person_... id. |
roles | Yes | One or more of control_person, ultimate_beneficial_owner, director, authorized_signatory, officer, no repeats. |
ownership_percentage | For ultimate_beneficial_owner | A percent from 0 to 100 with at most two decimals, above 0 for an owner. Returned as a string, for example "60.00". |
curl https://api.sandbox.roots.finance/api/v1/persons/person_7c1e4b2a9f3d4e6b8a0c5d2f1e9b3a74/associations \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Idempotency-Key: 0b5d7e1a-assoc-lopez" \
-H "Content-Type: application/json" \
-d '{
"associated_person_id": "person_2b8d6f1a4c3e4a9b9e7d0c5a6f1b2e38",
"roles": ["director", "ultimate_beneficial_owner"],
"ownership_percentage": 60
}'The response is an AssociationSummary:
{
"id": "assoc_4e1a9c7b2d5f4a8e9b3c6d0f1a2e7b58",
"associated_person_id": "person_2b8d6f1a4c3e4a9b9e7d0c5a6f1b2e38",
"direction": "controlled_by",
"roles": ["director", "ultimate_beneficial_owner"],
"ownership_percentage": "60.00"
}PATCH .../associations/{association_id} changes roles and ownership_percentage. An ultimate_beneficial_owner must keep a percentage above 0. DELETE .../associations/{association_id} removes the association: it drops out of the list, and reading, patching or deleting it again is a 404. A person can be linked to a business once; a second link is a 409 with code conflict, so add roles to the existing association with PATCH instead.
An association can be read from either end. GET /api/v1/persons/{person_id}/associations lists every link the person is on, and GET /api/v1/persons/{person_id}/associations/{association_id} reads one. associated_person_id is always the other person, and direction is relative to person_id: controlled_by when the other person owns or controls this one (the business's side), controls when this person owns or controls the other (the individual's side). Both ends return the same id, roles, and ownership_percentage. The association does not carry the other person's name; read it with GET /api/v1/persons/{associated_person_id}.
3. Upload documents
Upload each document with POST /api/v1/documents as multipart/form-data, with subject_type set to person, subject_id set to the person's id, its type and the file. Upload the documents listed in Required documents: the business's own, and each associated individual's.
curl https://api.sandbox.roots.finance/api/v1/documents \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Idempotency-Key: 9a4c1f7e-doc-articles" \
-F subject_type=person \
-F subject_id=person_7c1e4b2a9f3d4e6b8a0c5d2f1e9b3a74 \
-F type=articles_of_incorporation \
-F [email protected]Files must be PDF, PNG, or JPEG. A disallowed file type is a 415; a file over the size limit is a 413. document_number and issued_country are optional form fields; set them on an individual's passport, national_id_front, or drivers_license_front if the individual has no tax_number.
GET /api/v1/documents?subject_type=person&subject_id={person_id} lists a person's document metadata, and GET /api/v1/documents/{document_id}/content returns the file. person is the only subject_type.
4. Submit each associated individual
Every associated person must have a cleared review before the business can be submitted. Submit each individual with POST /api/v1/persons/{person_id}/review/submit and an Idempotency-Key. An individual's review usually finishes inside the call, and the response carries the outcome: status active when it cleared, or inactive with status_detail review_denied. An individual's review can also finish after the call returns; the person.review.completed webhook reports it either way.
An individual needs date_of_birth, nationality, occupation, phone, a mailing address, the financial and operational profiles, an identity document (a passport, or both sides of a national ID or driver's license), a proof of address (lease_agreement, utility_bill, or bank_statement), and either tax_number with tax_number_country or an identity document carrying document_number and issued_country.
5. Submit the business
Submit the business with POST /api/v1/persons/{person_id}/review/submit.
curl -X POST https://api.sandbox.roots.finance/api/v1/persons/person_7c1e4b2a9f3d4e6b8a0c5d2f1e9b3a74/review/submit \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Idempotency-Key: 3d8e2b6a-submit-acme"If anything is missing, the response is a single 422 with code review_not_ready and a violations array listing every gap. Fix them all and submit again. The checks include:
- Every field of
details,registered_address,mailing_address,financial,operational,regulatory, andlistingthat the review requires. - At least one document meeting each of the four business requirements.
- At least one control person: a
control_person,director,officer, orauthorized_signatory. - At least one
ultimate_beneficial_ownerwithownership_percentage, and ownership that sums to no more than 100. - Every associated person cleared.
- The fields the bank needs to open the account:
- The business's
tax_numberwithtax_number_country,incorporation_country, and, for a business incorporated in the US,incorporation_state. - A
business_typefrom the listed categories, or, for a business outside them, itsnaics_code(2–6 digits). - A registered address with
line1,city, andcountry; a US address also needsstateandpostal_code. - Each owner's
email,phone,tax_numberwithtax_number_country,nationality, and a mailing address on the same terms.
- The business's
- Each
tax_numberfitting itstax_number_country: a US number is 9 digits; any other is up to 64 letters, digits, spaces, and. / -. A number that does not fit istax_number_invalid_for_country. - Address fields within the bank's limits:
line1,city, andstateat most 64 characters,postal_codeat most 10. A longer one istoo_long_for_provider.
A business's review does not finish inside the call. The response shows status pending with status_detail in_review, and requirements.pending_verification lists review. While the review runs, edits, document uploads, association changes, and resubmission return 409. The outcome arrives later as the person.review.completed webhook, whose data is the PersonDetail. You can also poll GET /api/v1/persons/{person_id}. In sandbox, a business submitted with every associated person cleared ends active shortly after the submit.
6. Read the outcome
Render status, and status_detail for why:
status | status_detail | Meaning |
|---|---|---|
pending | onboarding_incomplete | Required onboarding data is still incomplete. |
pending | in_review | Onboarding data is complete and no outcome is recorded yet, whether or not the review has been submitted. |
active | null | Cleared. The business can own accounts. |
inactive | review_denied | Denied. The person cannot own an account. |
requirements says what is outstanding. currently_due lists what you still have to provide, such as onboarding_data; pending_verification lists what Roots is still checking, such as review; errors is empty. Each entry is a stable code.
Filter GET /api/v1/persons by status and status_detail to find persons at each step.
Once status is active or inactive, PATCH /api/v1/persons/{person_id}, document upload, and association changes return 409. A change of circumstances needs a new review.
Open an account only after the review clears. POST /api/v1/accounts for a person whose status is not active is refused with 422 person_review_not_cleared and no account is created. See Manage accounts.
Next steps
Updated 1 day ago