Approvals
Holds, routing, assurance levels, passkey signatures and what happens on approve.
When the pipeline holds a payment, a person decides. Approvals happen outside the agent's own conversation, on a person's device, and the strongest ones are signed with a passkey over exactly what's being approved. The agent never approves its own payments, and approving never skips the other checks.
Why a payment is held#
Any of these stages can hold a payment, and a held payment reports every reason at once:
| Stage | Typical reasons |
|---|---|
| Mandate match | No mandate, or the payment doesn't fit it (mandate_amount_mismatch, mandate_counterparty_mismatch) |
| Policy rules | Over the per-payment limit, a first payment to a new seller, outside the time window, a CEL condition |
| Risk | Unusual pace (velocity), an unusual amount (spend_spike), a loop, off-hours, price drift, a stolen-key signal |
| Budget | The payment leaves too little room (budget_nearly_exhausted) |
| Approval threshold | Above the approval line, a seller that always needs approval, or a policy rule |
The agent gets status held and an approval_id straight away. Over MCP it also gets progress notifications; with the SDK it can wait, or listen for the approval.decided webhook.
Routing#
The policy's approvals block decides who is asked, how and for how long:
approvals:
above: { amount: 50000, asset: USD } # $500.00
new_counterparty: true
route:
team_id: team_01JC…
channels: [push, slack, email]
assurance: passkey
timeout_minutes: 240
on_timeout: escalate- Channels. Mobile push with Face ID or a passkey, Slack and Teams messages, email, the console, and, where the client supports MCP elicitation, the agent's own person in their client.
- Who. A team's approvers, named people, or the agent's owner. Delegates cover people who are away.
- Timeout. After
timeout_minutes,escalateasks the next approver;rejectrejects it and tells the agent.
Assurance levels#
| `assurance` | What it takes | Use it for |
|---|---|---|
any | Any approver, any channel (a Slack button counts) | Small, routine purchases |
passkey | A WebAuthn signature over the decision hash | Anything material; the default above an amount |
dual | Two different approvers, each with a passkey | Large or unusual payments |
With passkey and dual, the approver sees exactly what they're signing before the prompt: amount, agent, counterparty, funding source, the mandate (as a diff, when there is one) and every reason it was held. The signature goes into the evidence record. Approvals made through Slack or email are recorded with that lower assurance, and policy can require a passkey above an amount.
Approving is two steps#
In every ndStill surface, approve is deliberate: the first action shows an inline confirmation (amount, agent → recipient, source), and only the second confirms. Reject always asks for a reason, which the agent receives.
Over the API, people (never agents) call:
curl -X POST https://api.ndstill.com/v2/approvals/apr_01JD…/approve \
-H "Authorization: Bearer $NDSTILL_USER_TOKEN" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "passkey_assertion": "<WebAuthn assertion over the decision hash>", "note": "Booked for the offsite" }'The approvals:write scope is people-only: it's never granted to an agent's key or token.
What happens on approve#
- The pipeline runs again from the top. If the agent was frozen, a budget filled up or the policy changed while the payment waited, the new decision reflects that.
- A conditional transition (
pending → approved, once) makes double execution impossible, even if two people approve at the same moment. - Budgets are reserved and a scoped credential is minted. The agent's payment continues.
- The approval, with its signatures, is written to evidence.
- Passed
- Held here
- Declined here
- Not on this rail
- Not reached
Agents asking for approval#
An agent can ask for a decision before it tries to pay, for example to check a large purchase with its person. The MCP request_approval tool uses elicitation where the client supports it, so the question appears in the person's own client. The person still answers on their device; the agent only learns the outcome. See Approvals API and the MCP tools.