TL;DR: Separate choosing from paying. The user signs narrow limits in advance on a surface the agent does not draw (merchant or category, maximum amount, currency, expiry, and the agent's key). The agent shops, builds a cart through the merchant's checkout API and signs the exact cart; the merchant signs the checkout; payment uses a single-use token bound to that session and amount. Every limit is checked by the merchant or payment provider, never by the model, and the signed chain is the dispute record.
How to approach it
Start by naming the three things a person at the checkout used to provide (authority, authenticity, accountability) and design one mechanism for each. Then walk one purchase end to end, then the failure cases: a price change, a retry, a prompt injection, a dispute.
A strong answer
Before the user leaves: signed, narrow authority. The user states the intent ("running shoes, size 43, under 120 euros, from these three shops, by Friday"). The product turns it into an open mandate the user signs in a wallet or device prompt, a trusted surface the agent cannot render. The mandate names the agent's public key. Defaults are narrow and short-lived; a broad mandate needs a deliberate choice.
While shopping: the agent proposes, the merchant prices. The agent searches and compares using read-only tools. When it picks an item, it creates a checkout session with the merchant (ACP or UCP). The merchant computes totals, tax and shipping. The agent signs a closed mandate for exactly that cart with its key; the merchant returns a signed checkout.
Paying: a token that can only do one thing. The payment provider verifies the chain: user signature on the open mandate, agent key matches, closed cart within limits, the payment bound to the merchant's signed checkout by hash. It issues a token restricted to that session, merchant, amount, currency, expiry and a single use.
Identity on the wire. The agent's requests to merchants carry RFC 9421 signatures with its operator's key, so merchants can let it past bot defences without trusting a header.
User signs limits
trusted surface
Agent shops
read-only tools
Merchant prices
signed checkout
Provider verifies
chain and limits
Single-use token
this cart only
Failure cases.
- Price rises between cart and payment: the merchant recalculates, the total exceeds the allowance, payment fails, and the agent asks the user. It never requests a larger allowance itself.
- Completion times out and is retried: the merchant's complete is idempotent per session and returns the existing order; the single-use token refuses a second charge.
- A product page tells the agent to buy elsewhere: the merchant is not in the signed limits, so verification fails at the provider whatever the agent believes.
- Wrong size delivered: the closed mandate shows what the agent ordered; the merchant's signed checkout shows what was offered. The dispute is decided from signatures, not from anyone's logs.
What the product owns. The limits users may sign, key custody for agents (a signing service, per-agent keys, rotation), the approval wording, notifications after each purchase, and a one-tap revoke.
What interviewers probe next
"Why not a virtual card with a low limit?" It caps loss but proves nothing about consent, does not stop a wrong cheap purchase, and gives a dispute nothing to work with.
"What if the user wants the agent to buy anything under 50 euros without asking?" Allowed, as an explicit, time-limited open mandate with a per-purchase and total cap, a merchant category restriction, and a notification per purchase.
"Where is the agent's key?" In a signing service the agent calls, scoped to that agent and environment, never in the model's context or a tool's environment.
How it's scored
Weak: Stores the card and lets the agent call checkout when it is confident.
Hire: Signed user limits checked outside the model, merchant-computed totals, a restricted payment token.
Strong Hire: Three properties mapped to mechanisms (mandates, signed requests, a verifiable chain), trusted surface for signing, key binding between user and agent, hash binding between checkout and payment, idempotent completion, failure cases walked through, and product controls for limits, notification and revocation.
Common mistakes
- Letting the model enforce the budget.
- Having the agent render the approval screen.
- Giving the agent a reusable credential.
- Treating a payment timeout as a failure and charging again.