Core concepts

Understand Roots objects, lifecycle states, balances, and compliance-aware transfer workflows.

Roots models your customers, their accounts, the external banks you pay, and every money movement as a small set of objects. Each object has its own lifecycle, and a later step depends on the state of an earlier one.

Core objects

ObjectId prefixWhat it is
Personperson_A customer, business or individual, with everything compliance asks for: details, addresses, profiles, documents, associations, and the review outcome.
Associationassoc_A link from a business to a person who owns or controls it.
Accountacct_A single-currency USD account held for a customer, a business or an individual. Its balance is read live from the ledger on every request.
Counterpartycpty_A screened external bank destination, with the rails it can be paid over.
Documentdoc_A KYC or KYB file uploaded for a person.
Transferxfer_One money movement: account to account, account to counterparty, or an inbound deposit.
Webhook endpointwhep_A URL that receives events, managed in the Client Portal.

Money

Amounts are integers in the currency's minor units, sent and returned as JSON strings in fields that end in _minor:

{"amount_minor": "125000", "currency": "usd"}

That is 1,250.00 USD. Parse amounts as integers, never as floats. usd is the only currency.

Persons and associations

A person has a type of business or individual and a role:

  • customer: your end customer.
  • own: your own business. Only a business can be own.
  • null (or omitted on create): a person who exists only as part of a business's ownership and control structure. Their director, owner or signatory role is on the association, not on the person.

Only customer and own persons can own an account. A person created with no role can later be given one with PATCH /api/v1/persons/{person_id}; customer and own never change.

An association links a business to another person with one or more roles: control_person, ultimate_beneficial_owner, director, officer, or authorized_signatory. An ultimate beneficial owner carries an ownership_percentage. Either person can read the association, and its direction says which side it is read from.

Acme Widgets LLC (business, customer)
  ├── Jordan Lee (individual, no role): ultimate_beneficial_owner 60%, director
  └── Morgan Chen (individual, no role): authorized_signatory

Store your own reference in external_id so you can match Roots objects and events to your records.

Review

POST /api/v1/persons/{person_id}/review/submit checks that the file is complete and screens it. A file missing anything is refused with one 422 (review_not_ready) whose violations array lists every gap.

  • An individual's review usually runs inside the submit call, and the response carries the outcome.
  • A business's review finishes asynchronously. The submit response shows status pending with status_detail in_review, and Roots sends person.review.completed when the outcome is recorded.

A business can clear only when every associated person has cleared review and at least one of them is a control_person, director, officer, or authorized_signatory.

A person's status is the field to show your users and to gate on. It is pending until a review outcome is recorded, then active or inactive. status_detail says why:

statusstatus_detailMeaning
pendingonboarding_incompleteRequired onboarding data is still missing.
pendingin_reviewOnboarding data is complete and no outcome is recorded yet, whether or not the review has been submitted.
activenullCleared. The person can own an account.
inactivereview_deniedThe review was denied. The person cannot own an account.

requirements lists what the person still has to provide in currently_due (onboarding_data while data is missing) and what Roots is still checking in pending_verification (review while no outcome is recorded).

A submit that comes back without an outcome closes the file: the person and its associations cannot change until the outcome is recorded. Once status is active or inactive, the person cannot be updated and no document can be uploaded. Those calls answer 409; a change of circumstances is a new review, not an edit.

Holds are raised and resolved by Roots compliance. The API reports them; it has no endpoint to answer them.

Accounts

A business or an individual with role customer can own an account, and only once its review has cleared: 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.

Every account starts pending and carries a status_detail:

status_detailMeaning
provisioningThe bank account is being opened.
provisioning_unknownThe bank's answer could not be determined; Roots resolves it.
provisioning_failedThe account could not be opened. Its status is failed.

An account becomes active when the bank confirms the account open. status_detail is null on an active, frozen, or closed account.

FromTo
pendingactive, failed
activefrozen, closed
frozenactive, closed
failedclosed
closedterminal

A pending account cannot be closed: the close is refused with 409 provisioning_in_progress. Closing needs a zero balance; otherwise it is refused with 409 account_has_balance.

A cleared review does not mean the account can transact. Read the account's status: only an active account can be part of a transfer. capabilities.send and capabilities.receive say what the account can do now: active on an active account, pending while the account is opening, and inactive otherwise.

Balances

GET /api/v1/accounts/{account_id} returns three balances:

FieldMeaning
available_minorSpendable now.
pending_minorIn flight either way: inbound funds not yet available, plus funds held for a transfer in progress.
current_minorEverything the account holds.

Use available_minor to decide whether a transfer can be made.

GET /api/v1/accounts/{account_id}/details returns the funding details a payer needs to send money to the account: account number, routing number, account holder, and receiving bank.

Counterparties

A counterparty is screened when it is created and when its name changes. A clear screen makes it active; a hit makes it blocked with status_detail screening_rejected. You can freeze and unfreeze it, and deleting it marks it deleted while keeping it readable for the transfers that named it. Only an active counterparty can be paid.

Transfers

The source and destination decide the direction, and the rail you choose decides how the money moves:

Source → destinationdirectionrail
Account → accountinternalinternal
Account → counterpartywithdrawalach, sameday_ach, or fedwire, required in the request
Inbound rail event → accountdepositThe rail the funds arrived on

Roots enables withdrawal rails per client; a rail not enabled for yours is refused with 409 rail_not_enabled. A counterparty that lists ach can also be paid over sameday_ach.

A 201 from POST /api/v1/transfers is not a settlement. Each transfer carries status, one of seven values, and status_detail, why it is there:

statusMeaning
pendingAccepted, not yet with the bank.
submittedThe bank has it and is processing it.
settledDelivered, or a deposit is now available. settled_at says when.
failedEnded without moving money. failure.code says why.
returnedSent back by the bank. returned_at says when; settled_at stays set if it had settled first.
reversedThe bank pulled back a settled ACH withdrawal. reversed_at says when; settled_at stays set.
cancelledYou cancelled a withdrawal before it settled. No money moved; cancelled_at says when.

submitted_at, settled_at, failed_at, returned_at, reversed_at, and cancelled_at are each set once and never cleared. failure is {code, message, return_code, return_description}, set only on failed, returned, and reversed; return_code and return_description are set only on returned. Branch on status and failure.code; show status_detail and failure.message to people.

settled, failed, returned, reversed, and cancelled are terminal. There is no retry endpoint: a replacement is a new transfer with a new Idempotency-Key.

Next steps


Did this page help you?