Skip to content
ndStill is in development. These docs describe the v2 API as designed; the SDKs and the hosted MCP server are previews and not generally available.
Docs

Mandates

Signed human instructions every payment must fit, and why they stop prompt-injected payments.

A mandate is a human instruction, captured and signed, that a payment has to fit: "flights to San Francisco, under $600, by Friday". When an agent pays, the pipeline's mandate stage checks the payment against the agent's active mandates. A payment that fits goes on to policy and budget checks. One that doesn't is held for a person, with the mismatch spelled out.

Mandates are what stop the most common money attack on agents: a prompt injection that talks the agent into paying the wrong seller. The policy says what an agent may spend in general; the mandate says what this person asked for this time.

What a mandate holds#

Mandate fields
FieldMeaning
agent_idThe agent the instruction is for.
instructionThe person's words, kept as written.
constraints.counterparty_patternWho may be paid, as a pattern (airline, *.delta.com).
constraints.counterparty_names, constraints.categoriesExact sellers or categories the payment must match.
constraints.min, constraints.maxThe amount band, as Money. max is required.
constraints.rails, constraints.recurrenceOptional: which rails, and none, weekly or monthly for standing instructions.
valid_from, expires_atWhen the mandate can be used.
max_uses, usesHow many payments it covers.
created_byThe person who signed it with their passkey.
statusdraft, active, used, expired or revoked.

The full shape is on the Mandates API page. The format is designed to be compatible with Google's AP2 mandates and Verifiable Intent, so a mandate can travel with the payment to sellers who check it.

Creating one#

People create mandates; agents can't. A person can type the instruction in the console or the app, or an agent can draft one for a person to review: POST/mandates/parse turns plain words into proposed constraints, and the person signs with a passkey to create it with POST/mandates.

JSON
{
  "agent_id": "agt_01JD8Q3W6Z",
  "instruction": "Flights to SF under $600, by Friday",
  "constraints": {
    "counterparty_pattern": "airline",
    "categories": ["Airlines"],
    "min": { "amount": 0, "asset": "USD" },
    "max": { "amount": 60000, "asset": "USD" }
  },
  "expires_at": "2026-11-06T23:59:00Z",
  "max_uses": 1,
  "passkey_assertion": "<WebAuthn assertion from the signer>"
}

A standing instruction is a mandate with standing: true and a recurrence, used with no human present each time, for example "pay the AWS bill each month up to $2,000". It carries the same constraints, and it expires.

How matching works#

The mandate stage compares the payment with each active mandate for the agent:

  1. Counterparty. The canonical counterparty (resolved in the stage before) must match a pattern. Low-confidence resolution counts as a new counterparty.
  2. Amount. The amount must sit inside the band, in the mandate's asset.
  3. Time and uses. Inside the validity window, with uses left.
  4. Recurrence, for standing instructions.

The first mandate that fits is recorded on the decision. If none fits, the stage holds with a specific code:

Mandate hold reasons
CodeExample
mandate_missingThe policy requires a mandate for this payment and there is none.
mandate_amount_mismatch$612.00 is above the mandate's $600.00.
mandate_counterparty_mismatchThe mandate is for Delta Air Lines; this payment is to Acme Air.
mandate_expiredThe instruction expired on Friday.
mandate_uses_exhaustedThe mandate covered one payment and it was used.

The approver sees a mandate diff: what the person asked for next to what the agent is paying, with the mismatched rows marked. Approving is a deliberate override and is signed into evidence.

When a mandate is needed#

Policies decide. A policy can require a mandate for every payment, only above an amount, only for some categories, or never. On usage-based rails (AI providers, cloud) the mandate stage is skipped, and the gate strip draws it as not on this rail.

  • Passed
  • Held here
  • Declined here
  • Not on this rail
  • Not reached
Held at the mandate stage: the amount is above the mandate's band. Every later stage still ran.

Mandates and disputes#

Because the mandate is signed and stored in the evidence record, it settles arguments later. If an agent books the wrong date, the dispute pack shows the mandate said Friday, and the right remedy is triggered with that evidence attached. See Evidence and receipts.