Onboard an individual

Create an individual customer, upload their identity and address documents, and submit them for review.

Onboard an individual in three steps: create the person, upload documents, then submit the person for review. An individual has no associations, so there is nothing to link before the submit.

To onboard a company, see Onboard a business. The directors and owners of a business are individuals too, created and reviewed the same way, but with no role.

Before you begin

  • Get an API token. See Authentication.
  • Send a new Idempotency-Key on every create, upload, and review-submit request. See Idempotency.
  • Collect the individual's identity, mailing address, financial and operational profiles, and the required documents.

Every request in this guide goes to https://api.sandbox.roots.finance with Authorization: Bearer rts_live_....

Required documents

An individual needs at least one document for each requirement. Roots works out which requirement a document meets from its type:

Requirementtype values that meet it
identitypassport, or both national_id_front and national_id_back, or both drivers_license_front and drivers_license_back
proof_of_addresslease_agreement, utility_bill, bank_statement

The smallest set is two documents, for example a passport and a utility_bill, or three with a two-sided ID card or driver's license. One side of a card alone does not count. other is stored but meets no requirement.

A missing requirement is listed in the submit's 422 violations: documents.identity with code identity_document_missing or identity_document_incomplete, or documents.proof_of_address with code address_document_missing.

1. Create the individual

Create the individual with POST /api/v1/persons, type: "individual" and role: "customer". Only customer can own an account; own is refused for an individual. Only type, details.first_name and details.last_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: 5e2b9c1d-individual-rivera" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "individual",
    "role": "customer",
    "external_id": "cust-20817",
    "details": {
      "first_name": "Sam",
      "last_name": "Rivera",
      "date_of_birth": "1990-03-14",
      "nationality": "US",
      "occupation": "Software engineer",
      "phone": "+12125550123",
      "email": "[email protected]",
      "tax_number": "123-45-6789",
      "tax_number_country": "US"
    },
    "mailing_address": {
      "line1": "200 Park Avenue South",
      "line2": "Apt 5B",
      "city": "New York",
      "state": "New York",
      "postal_code": "10003",
      "country": "US"
    },
    "financial": {
      "primary_source_of_funds": "Salary",
      "expected_transaction_volume": 20,
      "expected_transaction_value": "10k_100k",
      "total_assets_value": "100k_1m",
      "source_of_funds_description": "Employment income"
    },
    "operational": {"account_purpose": "Receiving salary and paying rent"}
  }'

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.

middle_name and ip_address are optional. An individual has no registered_address, regulatory, or listing; sending one is refused with code validation. Its jurisdiction is the country of its mailing_address.

2. 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 individual's id, its type and the file. Upload the documents listed in Required documents. A business document type is refused with code validation.

curl https://api.sandbox.roots.finance/api/v1/documents \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Idempotency-Key: 7c3a8e2f-doc-rivera-passport" \
  -F subject_type=person \
  -F subject_id=person_5a9d2c7e1b4f4e3a8c6d0b2e9f1a7c35 \
  -F type=passport \
  -F document_number=X12345678 \
  -F issued_country=US \
  -F [email protected]
curl https://api.sandbox.roots.finance/api/v1/documents \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Idempotency-Key: 1f6b4d9a-doc-rivera-address" \
  -F subject_type=person \
  -F subject_id=person_5a9d2c7e1b4f4e3a8c6d0b2e9f1a7c35 \
  -F type=utility_bill \
  -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 a 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 the individual's document metadata, and GET /api/v1/documents/{document_id}/content returns the file.

3. Submit for review

Submit the individual with POST /api/v1/persons/{person_id}/review/submit.

curl -X POST https://api.sandbox.roots.finance/api/v1/persons/person_5a9d2c7e1b4f4e3a8c6d0b2e9f1a7c35/review/submit \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Idempotency-Key: 8b2e6f1c-submit-rivera"

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 review needs:

  • details.date_of_birth, nationality, occupation, and phone.
  • A mailing_address with line1, city, and country.
  • The financial profile, every field, and the operational profile's account_purpose.
  • The required documents: an identity document and a proof of address.
  • An identification number: tax_number with tax_number_country, or an identity document carrying document_number and issued_country.

An account is opened only with the fields the bank needs, and a reviewed individual can no longer be edited. So for a customer who will own an account, also send before the submit:

  • details.email, tax_number, and tax_number_country. An identity document number does not replace tax_number here.
  • For a US mailing address, state and postal_code.
  • A tax_number fitting its tax_number_country: a US number is 9 digits; any other is up to 64 letters, digits, spaces, and . / -.
  • Address fields within the bank's limits: line1, city, and state at most 64 characters, postal_code at most 10.

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. If the response still shows status pending, the outcome arrives later as the person.review.completed webhook, whose data is the PersonDetail; the webhook fires either way. You can also poll GET /api/v1/persons/{person_id}.

In sandbox, screening is simulated and an individual clears unless a test value says otherwise. Put SANCTIONED-TEST in first_name or last_name for a denied review, or REFERRED-TEST for a review that stays pending until you decide it. See Test scenarios.

4. Read the outcome

Render status, and status_detail for why:

statusstatus_detailMeaning
pendingonboarding_incompleteRequired onboarding data is still incomplete.
pendingin_reviewOnboarding data is complete and no outcome is recorded yet, whether or not the review has been submitted.
activenullCleared. The individual can own accounts.
inactivereview_deniedDenied. The individual 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 type, status, and status_detail to find individuals at each step.

Once status is active or inactive, PATCH /api/v1/persons/{person_id} and document upload return 409. A change of circumstances needs a new review.

5. Open an account

Open an account with POST /api/v1/accounts once status is active. For a person whose status is not active, it is refused with 422 person_review_not_cleared and no account is created. A field the bank needs that is missing is a 422 review_not_ready with violations coded required_for_provisioning, too_long_for_provider, or tax_number_invalid_for_country. See Manage accounts.

Next steps


Did this page help you?