Skip to content

Interview question · Agent Payments & Commerce

How can an AI agent pay for something? Name the pieces between 'buy this for me' and a settled payment.

The orientation question for agent payments. The strong answer explains what a person's presence used to prove, names the three questions an agent purchase must answer explicitly, walks one purchase from intent to settlement, and puts the spending limits in code that holds when the agent is wrong.

easyNewUpdated Nov 2026

TL;DR: A card payment trusts a purchase because a person was there: they chose the item, saw the price and pressed pay. Remove the person and three things that presence proved have to be made explicit. Authority: a signed record of what the user approved, with a cap, a merchant scope and an expiry. Authenticity: proof that this request comes from that user's agent and not from a bot holding a stolen token. Accountability: evidence that decides who pays when the agent buys the wrong thing or buys twice. A purchase then runs as intent, approval, a checkout the merchant can verify, a payment against the approval, and a record of all of it, with the limits enforced in code the agent cannot talk its way past.

How to approach it

Start from what presence proved, because that is what the design has to replace. Name the three questions, then walk one purchase through them as a trace. Say where each limit lives and why it is not in the prompt. Mention protocols as dated examples of answers to the three questions, not as the answer.

A strong answer

At a till or a checkout page, the person is the proof. They picked the item, saw the price, authenticated to their bank and pressed the button; if it goes wrong, the dispute process asks what they saw and did. An agent checking out while the user is away removes all of that in one move, which is why "give the agent a card number" is a non-answer: the card network has no way to know what the user agreed to (Why Agent Payments Need Their Own Protocols).

Three questions have to be answered explicitly instead:

QuestionWhat presence used to proveWhat the agent design must produce
AuthorityThe person chose this item at this priceA signed record of what was approved: amount cap, merchant or category, expiry, conditions
AuthenticityThe person authenticated to their bankProof the request comes from this user's agent, bound to the approval, not from anyone holding a token
AccountabilityReceipts and the dispute processAn audit trail that ties the payment to the approval and the agent's actions, so a dispute has evidence

Walk one purchase:

intent     user: "Reorder the printer toner when it is under 60, this month."
approval   harness builds an approval record: item class = toner,
           cap = 60, merchant = the usual supplier, expires end of month;
           the user confirms it once; it is signed and stored
run        agent finds toner at 54; builds a checkout with item, price,
           merchant, and a reference to the approval
checkout   the merchant's checkout receives the order and the proof that
           an agent is acting for a real user under that approval
payment    the payment is made against the approval: 54 <= 60, merchant
           matches, not expired; a check fails -> the payment is refused
           in code, and the agent is told why
record     order id, approval id, price, time, every tool call: kept for
           the dispute that may come

The limits are enforced in the approval check and the payment step, not in the agent's instructions. An instruction saying "never spend over 60" is guidance; the agent reads supplier pages and emails that can argue with it. The cap in the approval record is checked by code that did not read those pages. When the price is 64, the purchase fails, the agent reports it, and the user decides.

The 2026 protocols divide these questions among themselves rather than answering all three in one. Some standardise the checkout between an agent and a merchant, so the merchant can tell an agent is buying and for whom. Others standardise the signed approval, a mandate, that proves what the user authorised. Another handles paying per request for an API, where the "purchase" is a few cents a call and there is no checkout at all. A design that adopts one of them has answered one question, and the interviewer will ask about the other two (the agent-payments topic covers which protocol answers which).

Authority line: the agent decides what to buy within the approval; the approval, checked in code, decides whether a payment can happen; the user decides the approval and anything outside it.

What interviewers probe next

"Why not store the card and set a spending limit on it?" The limit on a card caps damage; it does not say what the user agreed to. A stolen token spends up to the limit on anything, and a dispute has nothing to show what was authorised. The approval record is the thing the card lacks.

"The agent found the toner at 58 at a different supplier." Outside the approval's merchant scope, so the payment check refuses it. The right design asks the user to widen the approval, once, rather than widening it in advance to "any merchant".

"The price changed between the agent's check and the checkout." The approval caps the amount, so a rise past the cap is refused in code. Below the cap, the record shows the price the agent saw and the price charged, so a complaint later has the evidence.

How it's scored

Weak: Gives the agent a card or a token and relies on instructions to limit spending.

Hire: Names authority, authenticity and accountability, walks a purchase through approval, checkout and payment, and enforces the cap and scope in code.

Strong Hire: Also explains what presence used to prove, handles out-of-scope and price-change cases through the approval, treats protocols as partial answers to specific questions, and keeps a record built for disputes.

Common mistakes

  • Treating a spending limit on a card as proof of what the user approved.
  • Spending rules in the prompt, where supplier content can argue with them.
  • Approvals with no expiry or no merchant scope.
  • Adopting one protocol and assuming all three questions are answered.
  • No record linking the payment to the approval and the agent's actions.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 6, and the site remembers where you stopped in each one.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in raises your free answers from 5 to 6 per topic, adds an applied lesson in every topic and easy practice tests, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.