Agent Payments & Commerce
16 questionsDONEUNLOCKEDLOCKED
Agent Payments & Commerce Interview Questions
How an agent buys something without a person at the checkout. Signed proof of what the user authorised, checkout and delegated payment tokens, paying per request over HTTP, proving to a merchant that a request comes from a real agent, and the limits, receipts and dispute evidence that keep it accountable.
Worked answers that trace the run, put each decision on the right side of the authority line, and end with the follow-ups and scoring a panel applies.
You have 5 free answers unlocked here.Sign in free for 1 more · 10 are premium.
01–07Foundationsthe mechanisms behind this topic, and the terms a panel uses for them0/7 done
08–13Core questionsthe questions this topic is most often tested on, with full worked answers0/6 done
14–16Field scenariosopen-ended designs, incidents and trade-offs where you must state what is missing0/3 done
The concepts behind Agent Payments & Commerce
Lessons behind these answers. The opening lessons are free; deeper ones are Premium.
Foundational
Why Agent Payments Need Their Own ProtocolsPayment systems infer consent from presence: a person typed the card, passed a one-time code, pressed pay. An agent acting alone breaks that inference. Agent payments therefore need authority (signed, limited proof of what the user approved), authenticity (a verifiable way to tell a legitimate agent from a bot) and accountability (a record that settles who is liable when something goes wrong). In 2026 these map onto AP2 mandates, agent identification such as Visa's Trusted Agent Protocol, checkout protocols such as UCP and ACP, and x402 for per-request payment.Core
AP2 Mandates: Signed Proof of What the User ApprovedThe Agent Payments Protocol (AP2) was announced by Google in September 2025; version 0.2 was released and the protocol donated to the FIDO Alliance in April 2026. It defines two mandates, Checkout and Payment, each in an open stage (constraints the user signs) and a closed stage (the exact transaction). Mandates are SD-JWTs. When the user is not present, the open mandate carries the agent's public key, and the agent signs the closed mandate with it. The merchant returns a signed checkout whose hash is bound into the payment mandate. Roles: shopping agent, credential provider, merchant, merchant payment processor and trusted surface.Sign in
Advanced
Agentic Checkout with UCP and ACPTwo checkout protocols emerged for agents. The Agentic Commerce Protocol (ACP), developed by Stripe and OpenAI under Apache-2.0, defines checkout sessions an agent creates, updates, completes or cancels, and a delegated payment call that turns the user's card into a token with an allowance: maximum amount, currency, checkout session, merchant and expiry, for one use. The Universal Commerce Protocol (UCP), co-developed by Google with retailers and platforms, covers catalog, cart, checkout, identity linking and orders over REST or JSON-RPC, with AP2 support. The design idea in both: the agent never holds a reusable credential.🔒 Premium
Advanced
Paying per Request: x402 and the Machine Payments Protocolx402 and MPP make payment part of an HTTP exchange. In x402 (from Coinbase, now the x402 Foundation) a server replies 402 with a PAYMENT-REQUIRED header, the client retries with PAYMENT-SIGNATURE, and the server settles, often via a facilitator. MPP (Tempo and Stripe, March 2026) frames payment as an HTTP authentication scheme: a WWW-Authenticate Payment challenge, an Authorization credential, a Payment-Receipt, and charge, session and subscription intents across stablecoins and cards. Either way any server can ask the agent for money, so spending policy belongs in the client.🔒 Premium
Advanced
Proving a Request Comes from an AgentA merchant facing agent traffic must tell a legitimate agent acting for a real customer from a scraper or fraud bot. The emerging answer signs HTTP requests with RFC 9421 HTTP Message Signatures: the agent covers the method, authority, path and chosen headers plus created, expires, nonce and key id, and sends Signature-Input and Signature headers. The merchant verifies against the agent's published key and rejects stale or replayed requests. Visa's Trusted Agent Protocol builds on this RFC. Identification says which agent; a mandate says what the user approved.🔒 Premium
Unlock all 16 answers · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal