ACH and RTP payouts
Bank payments out under policy: payees, cut-offs, returns and approvals.
Agents in finance, procurement and operations need to pay invoices, vendors and contractors by bank transfer. ndStill sends those payments under the same policy as every other rail, from an ndStill account held at the partner bank or through a bank you already use, with approvals routed to people and every step on the record.
Rails#
| Rail | `rail` | Typical timing | Notes |
|---|---|---|---|
| ACH | ach | Same day or next business day, by cut-off | Cheapest. Returns (R01 and so on) can arrive days later. |
| RTP | rtp | Seconds, around the clock | Final once sent. The receiving bank must support RTP. |
| FedNow | fednow | Seconds, around the clock | Final once sent. Coverage varies by bank. |
| Wire | wire | Same day, by cut-off | For large or international payments. Final once sent. |
Cut-off times and holidays come from a rail calendar: GET/payouts/cutoffs returns today's cut-offs per rail, the next holiday, and the amount above which payouts need approval.
Payees first#
A payout goes to a saved payee: a person or business with bank details. Payees are created by people, verified, and then available to agents by ID. An agent can't send money to an account number it typed itself.
curl -X POST https://api.ndstill.com/v2/payees \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind Supplies",
"kind": "business",
"email": "ap@northwind.example",
"routing_number": "021000021",
"account_number": "000123456789"
}'Account numbers are stored encrypted and shown masked (····6789). A new payee is a new counterparty, so policies that hold first payments to new sellers will hold the first payout to it.
Sending a payout#
curl -X POST https://api.ndstill.com/v2/payouts \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: invoice-1042" \
-H "Content-Type: application/json" \
-d '{
"payee_id": "payee_01JD…",
"account_id": "acct_01JC…",
"amount": { "amount": 250000, "asset": "USD" },
"rail": "ach",
"memo": "Invoice 1042"
}'Use the invoice number (or another stable reference) as the Idempotency-Key: if the agent retries after a timeout, it gets the same payout back, never a second payment. Agents can also pay through pay() with a payee as the counterparty and rail_preference: ["bank"]; the result is the same payout.
What happens after you send#
The order of operations is designed so a crash can never lose or duplicate money:
- Decide. The pipeline runs: policy, mandate, risk, budgets. Payouts above the org's threshold are held for approval, with passkey assurance by default.
- Write first. The payment attempt is written as
pending_submissiontogether with the budget reservation, in one transaction. - Submit. A worker sends it to the bank with a deterministic idempotency key (the attempt ID).
- Track. Status moves only on the bank's webhooks or polling:
submitted → pending → settled, orreturned/failed. - Returns. An ACH return reverses the posting, credits the budget back and notifies you with the return code.
| Payout `status` | Meaning |
|---|---|
pending_approval | Held for a person; approve with POST /payouts/{id}/approve. |
pending, submitted | Sent to the bank, not yet settled. |
settled | The money arrived. |
returned | The receiving bank sent it back (ACH return); the budget is credited. |
failed, canceled | It didn't go out. |
A payout that hasn't been submitted can be cancelled with POST/payouts/{id}/cancel, and a freeze cancels every pending bank order for the frozen scope.
Connected banks#
If you already bank with a provider that has an API (Mercury, Increase, Column, Modern Treasury), connect it instead. Payments go out through ndStill in front of the bank's API at the Authorize control level, and where the bank has its own approval queue, ndStill mirrors it so people approve in one place. Reconciliation matches the bank's statement lines to each payout. See Control levels and the Connections API.
A policy for payouts#
version: "2026-11-01"
budgets:
- amount: { amount: 2500000, asset: USD } # $25,000.00
window: month
limits:
per_payment: { amount: 1000000, asset: USD } # $10,000.00
rails:
allow: [bank]
approvals:
above: { amount: 200000, asset: USD } # $2,000.00
new_counterparty: true
assurance: dual
time_windows:
- days: [mon, tue, wed, thu, fri]
from: "08:00"
to: "18:00"Every payout to a new payee is held, anything over $2,000 needs two approvers with passkeys, and nothing goes out on weekends. Paste it into the policy playground to try it.