Manage your billing balance and fraud reserve

Read the status of your billing balance and fraud reserve, find where to send a top-up, move money between them and your revenue, and handle a blocked client.

Two balances of yours sit beside your customers' accounts: the billing balance, which Roots' fees are paid from, and the fraud reserve, which covers chargebacks and fraud losses. Each has a minimum. Under it, requests are refused until you top up.

The two reserves

ReserveWhat it is forRefused while under its minimum
Billing balanceRoots' fees, taken from it as they post.Requests that can incur a fee: 400 insufficient_billing_balance.
Fraud reserveYour own money held against chargebacks and fraud losses. Roots sweeps from it to cover a loss, so Roots does not front it.POST /api/v1/transfers and its approval: 400 insufficient_fraud_reserve.

Roots sets what your fraud reserve must hold. It is either a fixed amount or a percentage of your settled volume, and it can be changed for you over time. A client that does no customer-to-business or customer-to-customer payments can be exempt, in which case nothing is required.

You cannot withdraw from the fraud reserve to a counterparty or pay out of it. You can move money out of either reserve only down to its minimum: see Move money between reserves and revenue.

Read the status

GET /api/v1/billing returns the billing balance, your revenue and the billing minimum; see Reconcile balances and transfers.

GET /api/v1/fraud-reserve returns the fraud reserve against what Roots requires:

FieldMeaning
balance_minorWhat the reserve holds now.
required_minorThe minimum it must hold. "0" when nothing is required of you.
shortfall_minorHow far under the minimum it is, else "0". Top up at least this much to lift a block.
available_to_move_minorWhat is above the minimum: the most you can move out.
alert_threshold_minorBelow this balance, and at or above the minimum, status is low.
statusok, low or blocked.
enforcedfalse when you are exempt from the reserve.

The amounts are strings of minor units. status is blocked when balance_minor is below required_minor, low when it is above the minimum but inside the alert margin, and ok otherwise. Roots sets the alert margin for you; by default it is 20% above the minimum.

Topping up only shortfall_minor lifts a block but leaves the reserve low. To bring it back to ok, add alert_threshold_minor minus balance_minor.

Find where to send a top-up

GET /api/v1/funding-accounts returns the bank details to send to for each reserve:

FieldMeaning
bank_name, bank_addressThe bank holding the account. A wire needs the address.
account_holderThe name to write on the transfer.
account_number, routing_numberWhere to send.
statusopen once the account takes deposits.

billing and fraud are separate accounts, so a deposit goes to the account of the reserve you mean to fund. Either is null until Roots has set that account up for you.

A deposit into one of these accounts counts as a top-up of that reserve automatically. There is nothing to call afterwards: read the reserve to see it.

The top-up counts once the deposit arrives at the bank: a wire usually the same business day, ACH one to three business days. Until then a blocked reserve stays blocked. Moving revenue in is quicker: see below.

In sandbox, POST /api/v1/sandbox/fraud-reserve/deposits with amount_minor books a simulated top-up into your fraud reserve, and POST /api/v1/sandbox/billing/deposits does the same for billing. Read the reserve afterwards: the amount shows once it posts.

Move money between reserves and revenue

POST /api/v1/reserves/move (billing:write scope) moves your own money between revenue, billing and fraud. It requires an Idempotency-Key header; without one the request is 422 validation. Resending the same key and body returns the first answer and moves the money once. See Idempotency.

{ "source": "revenue", "destination": "fraud", "amount_minor": "250000" }

source and destination must differ. The move is accepted, not yet applied: it answers 202 with a status and a bank_reflected flag.

  • Both pockets have a bank account bound at your bank: the move is an internal bank transfer. It stays pending, with bank_reflected true, and the balances change only when the bank confirms the transfer. A transfer the bank rejects never changes your balances.

  • Either pocket has no bank account bound: the move is ledger-only. It is completed at once with bank_reflected false, and your bank balances do not change. Ask Roots to bind the missing account if your bank statements must show the move.

  • Out of revenue, you can move up to your revenue balance. More is 400 insufficient_revenue.

  • Out of billing or the fraud reserve, you can move only what is above its minimum. More is 400 reserve_below_minimum, and detail says the most you can move. A reserve that is blocked has nothing to move out.

  • Into either reserve from revenue is always allowed up to your revenue balance, and it is the quickest way to lift a block.

Moves are recorded one at a time per client. A second move sent while the first is still being recorded is refused with 429 rate_limited; send it again with the same Idempotency-Key. Moves still waiting for the bank count against what you can move: available_to_move_minor on GET /api/v1/fraud-reserve, and billing_available_to_move_minor and revenue_available_to_move_minor on GET /api/v1/billing, already subtract them.

If your money is held at more than one bank, a move is refused with 409 multi_bank_move_unsupported. Contact Roots to move it.

POST /api/v1/billing/move-from-revenue moves revenue to billing only. It follows the same rules as a move, Idempotency-Key included.

When a reserve is blocked

While the fraud reserve is below what Roots requires, creating a transfer and approving one are refused:

{
  "code": "insufficient_fraud_reserve",
  "detail": "Your fraud reserve is $4,500.00, below the $5,000.00 required. Top up $500.00 to continue."
}

detail is written to show to a person. Reads, including GET /api/v1/fraud-reserve, and rejecting a transfer are never refused, so you can always see why and top up. Billing works the same way with insufficient_billing_balance.

Treat the error as a prompt to read the reserve, then top up at least shortfall_minor or move revenue in. Create the transfer again with a new Idempotency-Key once the balance has posted.

Get warned before it happens

The reserve.low webhook fires when the billing balance or the fraud reserve gets worse: from ok to low, from ok to blocked, or from low to blocked. It fires once for each worsening, not on every check, and again after the reserve has recovered to ok and dropped again. data.reserve says which reserve and data.status says low or blocked.

billing.balance.low still fires when a fee takes billing under its minimum.

Errors

StatusCodeMeaning
400insufficient_fraud_reserveThe fraud reserve is below what Roots requires. Top up or move revenue in.
400insufficient_billing_balanceThe billing balance is below its minimum.
400reserve_below_minimumThe move would take billing or the fraud reserve under its minimum.
400insufficient_revenueThe move is larger than your revenue balance.
409multi_bank_move_unsupportedYour money is held at more than one bank, so the move cannot run. Contact Roots.
422validationThe move was sent without an Idempotency-Key header.
429rate_limitedAnother move of yours is being recorded. Send the move again with the same Idempotency-Key.

The full list is in Errors.

Next steps


Did this page help you?