Holds and restrictions

Where a hold or restriction shows up on persons, accounts, counterparties, and transfers, what clears each one, and how to reproduce them in sandbox.

The API reports holds; it does not raise or answer them. Compliance decisions are made by Roots outside the API, and their result shows up as a field on the resource they affect. Read the resource to see where it stands, and stop the affected activity until Roots records the next state.

See API availability before implementing an API-dependent response flow in production.

Where holds appear

ResourceFieldHeld valuesWhat clears it
Personstatus / status_detailpending with onboarding_incomplete or in_reviewCompleting the person's data, submitting the review, then a review outcome recorded by Roots.
Personstatus / status_detailinactive with review_deniedNothing. Final.
Personrequirements.pending_verificationreviewA review outcome recorded by Roots.
Accountstatus / status_detailpending with provisioning or provisioning_unknownProvisioning finishing.
AccountstatusfrozenYou, with PATCH back to active.
Counterpartystatus / status_detailblocked with screening_rejectedA re-screen that clears, after you correct the name.
Counterpartystatus / status_detailfrozen with manual_freezeYou, with PATCH back to active.
Transferstatus / status_detailpending, including funds_held and awaiting_releaseRoots or the bank resolving the transfer.

A hold stays in place until Roots records the next state. Do not release funds, retry a transfer, or resume onboarding because a timer or an internal deadline has passed.

Persons

A person whose review has not cleared cannot own an account: POST /api/v1/accounts for it is refused with 422 person_review_not_cleared. Render status and status_detail:

statusstatus_detailMeaning
inactivereview_deniedFinal. The person cannot own an account.
pendingonboarding_incompleteRequired data or documents are still missing. requirements.currently_due lists onboarding_data.
pendingin_reviewOnboarding data is complete and no outcome is recorded yet. It does not mean the review was submitted: submit it with POST /api/v1/persons/{person_id}/review/submit. A submitted business stays here while its ownership structure is screened.
activenullCleared.

After a submit that comes back without an outcome, PATCH /api/v1/persons/{person_id}, document upload, association changes, and a second submit return 409 until the outcome is recorded. Once status is active or inactive, the file is closed to edits.

The person.review.completed webhook fires when an outcome is recorded, cleared or denied. Submitting a business for review sends no webhook; read the person to see in_review.

Accounts

Only an active account can be a leg of a transfer. A transfer naming a pending, frozen, closed, or failed account is refused with 409 account_not_active. A counterparty that is not active is refused with 422 validation, with body.destination.id in violations.

frozen is the hold you control. Use it to stop an account transacting without closing it, and PATCH it back to active to resume. Freezing and unfreezing need the accounts:freeze scope; closing needs accounts:close. Only active and frozen accounts can move between the two; anything else is 409 illegal_transition.

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"}'

Closing an account that still holds funds is refused with 409 account_has_balance. See Manage accounts.

Counterparties

A counterparty that screening rejects is blocked, with status_detail screening_rejected. You cannot unblock it directly. Correct the name with PATCH /api/v1/counterparties/{counterparty_id}; a changed name is screened again. A rejection moves an active or frozen counterparty to blocked. A clear moves a blocked counterparty back to active; it does not unfreeze a frozen one.

frozen is the hold you control, with status_detail manual_freeze. Send status frozen or active in the patch; this needs both counterparties:update and counterparties:freeze. status takes only frozen or active, and only active → frozen and frozen → active are allowed: from any other status the patch is 409 illegal_transition, and a deleted counterparty answers every patch with 409 conflict.

curl -X PATCH https://api.sandbox.roots.finance/api/v1/counterparties/cpty_7b2e9d4c1a8f6e3b5d0c9a2e1f4b7d6c \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": "frozen"}'

Neither a blocked nor a frozen counterparty can receive a transfer. A transfer to one is refused with 422 validation, with body.destination.id in violations. See Manage counterparties.

ℹ️

Freezing or unfreezing an account or a counterparty can incur a fee. While your billing balance is below its minimum, the request is refused with 400 insufficient_billing_balance before the freeze is applied. Keep billing funded so you can always freeze. See Reconcile balances and transfers.

Transfers

Transfers live under /api/v1/transfers. A withdrawal waiting on a check before it is sent reads as status pending; with status_detail funds_held, the balance is held and the transfer has not been sent. Funds are held as soon as Roots' checks pass the withdrawal (typically within a second or two of the 201) and stay held while it waits, which can take hours. If it ends failed, the hold is released and the funds return to available_minor; no fee is charged. It has no action in the API; wait for a terminal status.

A held transfer can end:

statusfailure.codeMeaning
settlednoneReleased and delivered.
failedsetDeclined. failure.code says why.

Branch on failure.code, not on failure.message, whose wording can change. See Track transfer status for every status and failure code.

One webhook follows a transfer:

EventdataUse it to
transfer.status.changedTransferDetail, including status, status_detail, and failureUpdate your record. Fires when the transfer moves to a new status.
⚠️

Do not release funds in your own system, or resend a held transfer, until the Roots record reaches a terminal state.

Test holds in sandbox

Sandbox simulates screening. Put a marker in a name to drive a hold; matching is case-insensitive and the marker can appear anywhere in the name. See Test scenarios for everything else sandbox simulates.

HoldHow to produce itWhat you see
Denied personAn individual with SANCTIONED-TEST in details.first_name or details.last_name, then POST /api/v1/persons/{person_id}/review/submitstatus inactive with status_detail review_denied, and a person.review.completed webhook.
Business in reviewSubmit a business whose associated persons have all clearedstatus pending with status_detail in_review, then active shortly after.
Blocked counterpartySANCTIONED-TEST in counterparty_information.business_name, first_name, or last_name on POST /api/v1/counterpartiesstatus blocked with status_detail screening_rejected; a transfer to it gets 422.
Unblocked counterpartyPATCH the blocked counterparty with a name without the markerstatus active.
Frozen account or counterpartyPATCH with {"status": "frozen"}status frozen; a transfer naming the account gets 409 account_not_active, one naming the counterparty gets 422.
Billing-blocked freezeFreeze while the billing balance is below its minimum400 insufficient_billing_balance.
Failed withdrawalPOST /api/v1/sandbox/transfers/{transfer_id}/fail on a submitted withdrawalstatus failed, with failure.

Create a counterparty that screening blocks:

curl -X POST https://api.sandbox.roots.finance/api/v1/counterparties \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "person_id": "person_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
    "counterparty_type": "individual",
    "relationship_to_person": "customer",
    "counterparty_information": {
      "first_name": "Maria",
      "last_name": "SANCTIONED-TEST Hernandez",
      "mailing_address": {"line1": "1 Main St", "city": "Austin", "country": "US"}
    },
    "external_account_information": {
      "supported_rails": ["ach"],
      "account_subtype": "checking",
      "account_number": "12345678",
      "routing_number": "021000021"
    }
  }'

Then clear it by correcting the name. counterparty_information is replaced whole, so send the full object:

curl -X PATCH https://api.sandbox.roots.finance/api/v1/counterparties/cpty_7b2e9d4c1a8f6e3b5d0c9a2e1f4b7d6c \
  -H "Authorization: Bearer $ROOTS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "counterparty_information": {
      "first_name": "Maria",
      "last_name": "Hernandez",
      "mailing_address": {"line1": "1 Main St", "city": "Austin", "country": "US"}
    }
  }'

To produce a returned transfer in sandbox, call POST /api/v1/sandbox/transfers/{transfer_id}/return on a settled withdrawal or deposit. To settle or fail a submitted withdrawal, call POST /api/v1/sandbox/transfers/{transfer_id}/settle or .../fail. Handle the other states from the tables above.

What to automate

  1. Stop dependent onboarding, funding, transfer, or funds-access actions.
  2. Create an internal task with the Roots id of the affected person, account, counterparty, or transfer.
  3. Collect the requested data and documents.
  4. Read the resource again after each webhook or outcome.
  5. Resume activity only when the current state permits it.

Next steps


Did this page help you?