A shop recognises an approved shopping agent by a signature it can verify, not by the name in the user agent or an IP address. With Web Bot Auth, the agent signs each request and publishes its public key. Visa’s Trusted Agent Protocol and Mastercard Agent Pay build on that signature. The shop’s CDN or bot management checks it, and the shop then applies its normal rules for checkout, limits and fraud checks.
Why doesn’t the user agent prove anything?
Any client can call itself a well known assistant in the User-Agent header, and IP ranges change. If a shop blocks all automation, legitimate purchases stop at checkout. If it lets everything through, it invites scraping and fraud. In a G2 study, 49% of the 156 online sellers who answered said they couldn’t distinguish agent traffic or purchases from human activity. A shop that can’t tell an agent apart can neither allow it deliberately nor measure what it buys.
How does Web Bot Auth work?
Web Bot Auth uses HTTP Message Signatures as defined in RFC 9421. The operator of an agent publishes its public keys in a directory. Each request carries a Signature-Input and a Signature header with a key identifier, a creation and expiry time and a nonce. The receiving side fetches the key, checks the time window and the nonce, and verifies the signature.
Cloudflare describes how Visa’s Trusted Agent Protocol and Mastercard Agent Pay use Web Bot Auth as their authentication layer. Agents register with the card network, a tag in the signature shows whether the agent is browsing or paying, and the merchant can see how payment is expected. Standardisation at the IETF is still in progress, so ask your CDN and payment provider what they verify today.
Which rules should the shop set?
| Situation | Handling |
|---|---|
| Verified agent browsing the catalogue | Allow product pages, prices and availability with the same limits as a customer session. |
| Verified agent at checkout | Run the normal checkout and fraud checks and store the agent identity with the order. |
| Unsigned automation that claims to be an assistant | Treat it as an unknown bot and challenge or limit it. Keep the search crawlers the shop wants. |
| Verified agent outside the approved amount | Stop the purchase and return the changed offer to the customer. |
What should the shop record with the order?
Store the verified agent, its key identifier or network registration and whether the request was browsing or paying. You can then compare orders, cancellations and returns per agent, as described in the guide to measuring agentic commerce. Visa names the recognition of trusted agent transactions as a goal of its Agentic Ready programme in Europe. Ask your payment provider which of those checks it already offers.
What should a first test look like?
Take one product. Send a request with an assistant’s user agent but no signature: the shop should treat it as unknown. Then use a registered test agent from your provider’s sandbox or Visa’s published sample. Check that the signed agent reaches checkout, that the order shows its identity, and that a price change after approval stops the purchase.
Book chapters, articles and sources
- Chapter 13 · Security for agents that act
- Chapter 9 · When purchasing moves between interfaces
- How can a shopping agent verify a merchant?
- Stefan Hamann · Blink, and It's Bought: AI Agents Ignite the Age of Agentic Commerce
- Cloudflare · Securing agentic commerce with Visa and Mastercard
- RFC 9421 · HTTP Message Signatures
- Visa · Trusted Agent Protocol sample
- G2 · Merchant readiness for agentic commerce