Manage accounts
Open accounts, read live balances and funding details, freeze, unfreeze, and close accounts, and download statements and exports.
Open a USD account for a customer, follow it to active, read its balance, and change its status.
Before you begin
- Get an API token. See Authentication.
- Create the owner as a business or an individual with
rolecustomer(or your own business, withroleown) and wait until its review clears (statusactive). See Onboard a business or Onboard an individual. A person with no role cannot own an account (422).
Open an account
Open an account with POST /api/v1/accounts and an Idempotency-Key.
| Field | Required | Values |
|---|---|---|
person_id | Yes | The owner's person_... id. |
currency | No | usd, the default and only value. |
label | No | Your own name for the account, 1 to 60 characters. |
curl https://api.sandbox.roots.finance/api/v1/accounts \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Idempotency-Key: 5c2a9e1f-acct-acme-usd" \
-H "Content-Type: application/json" \
-d '{"person_id": "person_7c1e4b2a9f3d4e6b8a0c5d2f1e9b3a74", "currency": "usd"}'The response is a 201 with an AccountDetail:
{
"id": "acct_4d9e2b7c1a6f5e3d8b0c9a2f1e7d6c5b",
"person_id": "person_7c1e4b2a9f3d4e6b8a0c5d2f1e9b3a74",
"label": null,
"currency": "usd",
"status": "pending",
"status_detail": "provisioning",
"capabilities": {"send": "pending", "receive": "pending"},
"provider_account_id": null,
"created_at": "2026-10-07T09:12:44Z",
"active_at": null,
"closed_at": null,
"balance": {"available_minor": "0", "pending_minor": "0", "current_minor": "0"}
}The account opens with status_detail provisioning and the bank account is requested right away. An owner whose review has not cleared, because it is still in review or was denied, is refused with 422 person_review_not_cleared and no account is created; wait for the person.review.completed webhook. A cleared owner that is missing a field the bank needs gets a 422 review_not_ready listing the gaps. If Roots has paused new accounts at every bank your client is set up with, the request is refused with 409 conflict and no account is created; accounts you already have keep working. Contact Roots to have a bank opened for new accounts. A customer's accounts are all held at one bank: a new account for a customer who already has one opens at that same bank, and if that bank is not taking new accounts the request is 409 conflict with detail "this person's bank is not taking new accounts".
The account id is derived from your Idempotency-Key, so a retry with the same key returns the same account.
Follow the account to active
Every account starts pending. Read status, status_detail, and capabilities with GET /api/v1/accounts/{account_id}, or subscribe to account.created and account.status.changed.
status_detail | Meaning |
|---|---|
provisioning | The bank account is being opened. |
provisioning_unknown | The outcome could not be determined. Roots resolves it to active or failed. |
provisioning_failed | Set on a failed account. |
status_detail is null on an active, frozen, or closed account.
capabilities says what the account can do apart from its status. send and receive are each active, pending, or inactive:
| Account | send | receive |
|---|---|---|
active | active | active |
pending | pending | pending |
frozen, closed, or failed | inactive | inactive |
A failed account never becomes active by itself. Contact Roots before you retry or close it: a refusal of the owner's customer record also fails later accounts for that owner until Roots resolves it.
Only an active account can be the source of a transfer or the destination of an internal transfer. A cleared review does not make an account active; read the account's status.
Read the balance
GET /api/v1/accounts/{account_id} reads the balance live on every call. Each value is a string of minor units; for usd, "125000" is 1,250.00.
| Field | Meaning |
|---|---|
available_minor | Spendable now. |
pending_minor | In flight either way: inbound funds not yet available, plus funds held for a transfer in progress. |
current_minor | Everything the account holds. |
Get funding details
GET /api/v1/accounts/{account_id}/details returns the bank details a payer uses to send money into the account. It needs the accounts:read scope.
curl https://api.sandbox.roots.finance/api/v1/accounts/acct_4d9e2b7c1a6f5e3d8b0c9a2f1e7d6c5b/details \
-H "Authorization: Bearer $ROOTS_API_TOKEN"{
"id": "acct_4d9e2b7c1a6f5e3d8b0c9a2f1e7d6c5b",
"currency": "usd",
"account_holder": "Acme Trading LLC",
"account_holder_address": {
"line1": "1 Main Street",
"line2": null,
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "US"
},
"account_number": "89037822498621",
"routing_number": "101115496",
"swift_bic": null,
"institution_name": "Example Bank",
"institution_address": {
"line1": "1 Bank Plaza",
"line2": null,
"city": "New York",
"state": "NY",
"postal_code": "10005",
"country": "US"
}
}| Field | Meaning |
|---|---|
account_holder, account_holder_address | The name and address a payer puts on the transfer, as the bank holds them. |
account_number | The account number to send funds to. |
routing_number | The ABA routing number for ACH and domestic wire. |
swift_bic | The receiving bank's BIC, needed for an international wire. null until Roots records one. |
institution_name, institution_address | The receiving bank, which a wire needs. |
The account holder, address, account number, and routing number are read from the bank on every call. If the bank cannot be reached, the call returns 502 backend_unavailable rather than details that may be out of date.
An account with no bank account behind it yet, still provisioning or failed, returns 409 account_not_provisioned. A 500 provider_bank_not_configured means Roots has not recorded the receiving bank for your accounts; contact Roots.
Name an account
PATCH /api/v1/accounts/{account_id} with a label sets your own name for the account, and null clears it; omit the field to leave it alone. The label is never sent to the bank and never shown to a payer: the name on a transfer stays the account holder's. It needs the accounts:update scope, which the Client Portal key form does not offer, so set label when you open the account. It works in any status. A status and a label can be sent in one request.
Freeze, unfreeze, or close
Change status with PATCH /api/v1/accounts/{account_id}:
curl -X PATCH https://api.sandbox.roots.finance/api/v1/accounts/acct_4d9e2b7c1a6f5e3d8b0c9a2f1e7d6c5b \
-H "Authorization: Bearer $ROOTS_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status": "frozen"}'| From | Allowed status |
|---|---|
active | frozen, closed |
frozen | active, closed |
failed | closed |
closed | none; terminal |
Any other move is a 409 illegal_transition. pending cannot be requested, and a pending account cannot be closed. An account leaves pending on its own: it becomes active when the bank confirms the account open, or failed. Freezing and unfreezing need the accounts:freeze scope; closing needs accounts:close.
Closing is refused with 409:
account_has_balancewhile any balance remains, holds included. Move the funds out first.provisioning_in_progresswhile the account ispending.detailnames the remedy.
List and export
GET /api/v1/accounts lists account summaries without balances. Filter with person_id, status, and currency; search with search (account id or owner name); sort with order_by and order; page with page and page_size.
GET /api/v1/accounts/export returns every matching account as roots_accounts_{date}.csv or .pdf. It takes the same filters plus format (csv default, or pdf), columns, and created_from/created_to (at most one year). It has no paging; a result over the export limit is refused.
Download a statement
GET /api/v1/accounts/{account_id}/statement returns the account's transfer activity as roots_account_{account_id}_{date}.pdf (default) or .csv, for a created_from/created_to window of at most one year.
curl -o statement.csv \
"https://api.sandbox.roots.finance/api/v1/accounts/acct_4d9e2b7c1a6f5e3d8b0c9a2f1e7d6c5b/statement?format=csv&created_from=2026-09-01&created_to=2026-09-30" \
-H "Authorization: Bearer $ROOTS_API_TOKEN"Amounts are signed against this account: positive for money in, negative for money out. The statement has no opening or closing balance; the balance in its header is read at download time. Postings with no transfer behind them, such as holds, do not appear.
List transactions
GET /api/v1/accounts/{account_id}/transactions lists the ledger entries on an account, newest first, each with the transfer_id that made it. See Transactions for the filters and the type values.
Next steps
Updated 1 day ago