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
| Resource | Field | Held values | What clears it |
|---|---|---|---|
| Person | status / status_detail | pending with onboarding_incomplete or in_review | Completing the person's data, submitting the review, then a review outcome recorded by Roots. |
| Person | status / status_detail | inactive with review_denied | Nothing. Final. |
| Person | requirements.pending_verification | review | A review outcome recorded by Roots. |
| Account | status / status_detail | pending with provisioning or provisioning_unknown | Provisioning finishing. |
| Account | status | frozen | You, with PATCH back to active. |
| Counterparty | status / status_detail | blocked with screening_rejected | A re-screen that clears, after you correct the name. |
| Counterparty | status / status_detail | frozen with manual_freeze | You, with PATCH back to active. |
| Transfer | status / status_detail | pending, including funds_held and awaiting_release | Roots 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:
status | status_detail | Meaning |
|---|---|---|
inactive | review_denied | Final. The person cannot own an account. |
pending | onboarding_incomplete | Required data or documents are still missing. requirements.currently_due lists onboarding_data. |
pending | in_review | Onboarding 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. |
active | null | Cleared. |
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
400insufficient_billing_balancebefore 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:
status | failure.code | Meaning |
|---|---|---|
settled | none | Released and delivered. |
failed | set | Declined. 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:
| Event | data | Use it to |
|---|---|---|
transfer.status.changed | TransferDetail, including status, status_detail, and failure | Update 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.
| Hold | How to produce it | What you see |
|---|---|---|
| Denied person | An individual with SANCTIONED-TEST in details.first_name or details.last_name, then POST /api/v1/persons/{person_id}/review/submit | status inactive with status_detail review_denied, and a person.review.completed webhook. |
| Business in review | Submit a business whose associated persons have all cleared | status pending with status_detail in_review, then active shortly after. |
| Blocked counterparty | SANCTIONED-TEST in counterparty_information.business_name, first_name, or last_name on POST /api/v1/counterparties | status blocked with status_detail screening_rejected; a transfer to it gets 422. |
| Unblocked counterparty | PATCH the blocked counterparty with a name without the marker | status active. |
| Frozen account or counterparty | PATCH with {"status": "frozen"} | status frozen; a transfer naming the account gets 409 account_not_active, one naming the counterparty gets 422. |
| Billing-blocked freeze | Freeze while the billing balance is below its minimum | 400 insufficient_billing_balance. |
| Failed withdrawal | POST /api/v1/sandbox/transfers/{transfer_id}/fail on a submitted withdrawal | status 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
- Stop dependent onboarding, funding, transfer, or funds-access actions.
- Create an internal task with the Roots id of the affected person, account, counterparty, or transfer.
- Collect the requested data and documents.
- Read the resource again after each webhook or outcome.
- Resume activity only when the current state permits it.
Next steps
- Read Onboarding and review lifecycle for review outcomes.
- Read Manage counterparties for screening and freezes.
- Read Track transfer status to follow held, settled, failed, and returned transfers.
- Read Webhooks and events to verify and dedupe deliveries.
Updated 18 days ago