Skip to content

Lesson 1 of 5 · 4 min read

Why Agent Payments Need Their Own Protocols

Free lessonReviewed By the AIAgentInterviews editorial teamProduct details checked · What changed
Reading position
In this lesson

TL;DR: A card network trusts a purchase because a person was present for it. An agent removes the person, so three questions that presence used to answer must now be answered explicitly. Authority: what exactly did the user approve, up to what amount, with which merchant, until when? Authenticity: is this request from that user's agent, or from a bot scraping prices with a stolen token? Accountability: when the shoes are the wrong size or the agent bought twice, what evidence decides who pays? The 2026 protocols answer these separately, and an agent design that answers only one of them is not finished.

After this lesson, you should be able to explain why existing payment flows cannot simply be driven by an agent, name the three properties an agent payment needs, map each to the protocol that addresses it, and design spending limits that hold even when the agent is wrong.

Before you read

Commit to an answer now. The lesson that follows explains it, and having guessed first, even wrongly, makes the explanation easier to remember.

  1. 1A user tells their shopping agent: 'buy running shoes under 120 euros, size 43, before Friday.' The agent has the user's saved card. Why is charging that card directly a bad design, even if the agent picks the right shoes?

What presence used to prove

When you buy something yourself, several facts are inferred from your being there. You chose the item and saw the price. You typed or tapped the card. You may have passed a one-time code from your bank. Dispute rules, fraud models and liability all build on those inferences.

An agent acting while the user is elsewhere has none of them. The interesting case is not a malicious agent; it is an honest agent that is wrong, or one that read a product page containing instructions. The payment system needs to know what the user authorised independently of what the agent decided.

Three properties

WHAT A PERSON AT THE CHECKOUT USED TO PROVE
Three things an agent payment must show instead
  1. 1

    1 · Authority

    what the user approved

    • Signed by the user, not the agent
    • Merchant, amount, items, expiry
  2. 2

    2 · Authenticity

    who is actually asking

    • A known agent, not a scraper
    • Signed HTTP requests, bound to the session
  3. 3

    3 · Accountability

    what settles a dispute

    • Mandates plus receipts
    • Non-repudiable, checkable later
Each 2026 protocol addresses one or two of these. None addresses all three alone.

Authority. The user signs a statement of what the agent may do. It should be narrow (one merchant or a category, a maximum amount, a currency, an expiry) and it should be signed by a key the user controls, not by the agent. A merchant or bank can then check the purchase against it.

Authenticity. Merchants already fight automated traffic. They need to tell a legitimate agent, acting for a known user, from a bot. That means the agent signs its requests with a key that can be verified, and the signature covers enough of the request (method, path, time, a nonce) that it cannot be replayed.

Accountability. Something will go wrong eventually: the wrong size, a double order, a disputed charge. The evidence needs to be in a form that the merchant, the payment network and the user's bank can all check, after the fact, without trusting any one party's logs.

Which protocol answers which question

Question2026 answerHow
What did the user approve?AP2 mandatesSigned checkout and payment mandates with open (limits) and closed (exact cart) stages
How does the checkout work?UCP, ACPStandard catalog, cart and checkout calls; delegated payment tokens with an allowance
Is this a legitimate agent?Agent identification, such as Visa's Trusted Agent ProtocolHTTP message signatures (RFC 9421) on the agent's requests
Which card credential does the agent use?Network agent credentials, such as Visa Intelligent CommerceTokenized card credentials provisioned for the agent, passkey authentication, consumer-approved purchase instructions
Can an agent pay for an API call?x402, MPPHTTP 402 with a price or payment challenge, payment in the retry
What settles a dispute?AP2 mandates plus receiptsA non-repudiable chain from user approval to merchant confirmation

These are complementary, and some are explicitly layered: AP2 describes itself as a security layer inside a commerce protocol and is designed to be compatible with UCP. On the card side, Visa describes Intelligent Commerce as still being deployed; its issuer programme, Agentic Ready, reported more than 175 participating issuers across 45 markets in November 2026. Dated November 2026; this area changes monthly.

Limits that hold when the agent is wrong

Whatever the protocols, the design principle is the same as for any agent with authority: the limit must be enforced by something other than the agent's judgement. Here is the check a payment service should run before honouring an agent's purchase, written against a user's signed limits:

from datetime import datetime

def check_purchase(limits, purchase, already_spent):
    """Return the reasons to refuse; an empty list means allowed."""
    reasons = []
    if purchase["merchant"] not in limits["merchants"]:
        reasons.append("merchant not approved")
    if purchase["currency"] != limits["currency"]:
        reasons.append("wrong currency")
    if purchase["amount"] > limits["max_per_purchase"]:
        reasons.append("over the per-purchase limit")
    if already_spent + purchase["amount"] > limits["max_total"]:
        reasons.append("over the total limit")
    if purchase["at"] > limits["expires"]:
        reasons.append("approval expired")
    return reasons

limits = {"merchants": {"stride-shoes"}, "currency": "EUR",
          "max_per_purchase": 120.00, "max_total": 120.00,
          "expires": datetime(2026, 11, 27, 23, 59)}
honest = {"merchant": "stride-shoes", "currency": "EUR", "amount": 109.90,
          "at": datetime(2026, 11, 25, 10, 0)}
injected = {"merchant": "best-deals-outlet", "currency": "EUR", "amount": 109.90,
            "at": datetime(2026, 11, 25, 10, 5)}
print(check_purchase(limits, honest, already_spent=0))  # => []
print(check_purchase(limits, injected, already_spent=109.90))
# => ['merchant not approved', 'over the total limit']

The second purchase is what a prompt injection on a product page might produce: same amount, different merchant, a second order. The check catches it twice, and neither check depends on the agent noticing anything. In a real system the limits come from a mandate the user signed, the check runs at the merchant or payment provider, and the refusal reasons become part of the dispute record.

Misconceptions interviewers listen for

  • "Give the agent a virtual card with a low limit and you are done." A limited card bounds the loss. It does not prove what the user approved, does not stop a wrong-but-cheap purchase, and gives a dispute nothing to work with beyond a transaction record.
  • "The model will follow the user's budget." Instructions in the prompt are advice to the model. Limits that matter are enforced in code by a party that is not the model.
  • "One protocol covers it." Checkout, consent, agent identity and per-request payment are separate problems with separate 2026 standards.

Say it in 30 seconds

"Card payments infer consent from a person being present, and an agent removes the person. So an agent payment needs three things made explicit: authority, meaning signed and narrow proof of what the user approved; authenticity, meaning the merchant can verify the request comes from a legitimate agent for that user, with signed, replay-proof requests; and accountability, meaning evidence that settles disputes. In 2026 that maps to AP2 mandates for consent, UCP or ACP for the checkout itself, agent identification protocols built on HTTP message signatures, and x402 for paying per request. Whatever the protocol, the limits are enforced by the payment side, not by the model's judgement."

Check yourself

Answer aloud or on paper before revealing. Producing the explanation unaided is exactly what a panel listens for.

  1. 1Name the three properties an agent payment needs that a person at the checkout used to provide implicitly.

  2. 2Why must the user's approval be signed by a key the user controls, not by the agent?

  3. 3A shopping agent reads a product page that tells it to buy from a different store. Which control should stop the purchase, and where does it run?

Practise it as an interviewer asks it

From the blog

Related lessons