Improved

Cancel a transfer, reversed and cancelled statuses, a fraud reserve, an own person role, revenue fees and KYB link events

Breaking: transfers gain two statuses, cancelled and reversed; a fraud reserve below its minimum refuses transfers with 400 insufficient_fraud_reserve; POST /billing/move-from-revenue requires an Idempotency-Key; a person created without a role no longer defaults to customer, and graph_node is replaced by null; webhook envelopes no longer carry client_id. Also added: cancelling a transfer, bank return codes, reserve moves, revenue fees, four hosted KYB link webhooks, and a new link for the Postman collection with sandbox test scenarios.

Breaking changes

  • cancelled is a new transfer status.
    • It appears in GET /transfers, GET /transfers/{transfer_id}, the list's status filter and the transfer.status.changed webhook.
    • It is terminal and moves no money. failure is null, the held funds go back to available_minor, and a fee already charged is not refunded. cancelled_at says when.
    • status_detail says where it was stopped: cancelled_before_submission (the bank never had it) or cancelled_at_bank (the bank confirmed your cancel).
    • Withdrawals only. See Cancel a transfer.
  • reversed is a new transfer status.
    • The bank pulled back an ACH withdrawal that had already settled. The amount is back in the source account, the fee is not refunded, settled_at stays set and reversed_at says when.
    • ACH withdrawals only: a wire the bank takes back is a return. A reversal can arrive days after settlement.
    • failure is set on a reversed transfer, with code reversed_by_bank.
    • Treat an unknown status as a prompt to read the transfer, not as an error. See Track transfer status.
  • POST /transfers and its approval can return 400 insufficient_fraud_reserve.
    • Only for clients Roots asks to hold a fraud reserve, and only while it is below the minimum. detail gives the balance, the requirement and the shortfall.
    • Reading the reserve and rejecting a transfer are never refused. See When a reserve is blocked.
  • POST /billing/move-from-revenue requires an Idempotency-Key header. Without one the request is 422 validation. See Idempotency.
  • A person's role is customer, own or null; graph_node is gone.
    • POST /persons no longer defaults role to customer. Omitting it, or sending null, creates a person with no role, who only sits in a business's ownership and control structure and cannot own an account. Send "role": "customer" explicitly for every end customer.
    • Persons that read graph_node now read role: null. Sending graph_node on create, update or the role filter of GET /persons is still read as no role, but is due to be refused: send null instead.
    • own is your own business. Only a business can be own, and customer and own persons can own an account.
    • A person with no role can be given one later with PATCH /persons/{person_id}; customer and own never change. See Persons and associations.
  • Webhook deliveries no longer carry client_id in the envelope. Each event is delivered only to your own endpoints. See Webhooks and events.

Changes