On November 13, OpenAI launched ChatGPT Wallet. Its "dots" agents can now finish a purchase for the user: the user adds a card once, reviews the items and total, approves with Face ID or a fingerprint, and the agent pays with a network payment token instead of the real card number. It starts with ChatGPT Pro users in the US, built with American Express, Chase, Mastercard and Visa.

The interesting part for developers is not the wallet. It is the one line in OpenAI's announcement aimed at us: to accept these payments, websites need to ensure agents are not inadvertently blocked, and payment and risk systems need to recognize legitimate purchases made by agents.

In other words, an AI agent with a real budget can show up at your store this month, and your bot wall, your CAPTCHA and your fraud rules were all built to stop exactly that kind of visitor.

This post covers the three things you can ship this week, with code for the one most stores are missing.

What an agent purchase actually looks like

Agent-ready commerce architecture: shopper and agent, edge verification, agent interfaces, store core, payments and risk

The merchant keeps the customer relationship, pricing, fulfillment and returns. The payment looks like a normal card payment with a tokenized card. What changes is who is clicking.

1. Stop blocking the good agents (Web Bot Auth)

ChatGPT's agents sign their HTTP requests using Web Bot Auth, an IETF draft ("HTTP Message Signatures for Bots") built on standard HTTP Message Signatures. Each request carries a signature, and the agent's public keys are published in a directory, so a CDN or firewall can check cryptographically that a request really comes from the agent it claims to be.

What to do:

  • If your CDN or WAF supports Web Bot Auth verification, turn it on and allow verified agents through your bot rules.
  • Check that your CAPTCHA, rate limits and "headless browser" detection are not silently killing agent sessions on product, cart and checkout pages.
  • Do not build a second bot wall at your origin that ignores what the edge already verified.

This is configuration, not code, but it is the difference between an agent that can buy and an agent that gives up and recommends a competitor.

2. Give agents real tools instead of making them click (WebMCP)

An agent can drive your site like a human, clicking and scraping. It works, but it is slow and fragile: a redesigned button breaks the flow.

OpenAI's playbook mentions a better option: WebMCP tools. WebMCP is a proposed web standard, currently in a Chrome origin trial, that lets a page register tools for agents with plain JavaScript. The agent calls a named function with a JSON schema instead of guessing which button to press.

Here is a small agent-tools.js for a store. It exposes search, add to cart and cart summary, and deliberately leaves checkout to your normal checkout page, where the user approves the payment.

// agent-tools.js: expose real store actions to in-browser AI agents (WebMCP) // Load it on product and cart pages. Feature-detected, so it does nothing in // browsers without WebMCP. (async () => { if (!('modelContext' in document)) return; await document.modelContext.registerTool({ name: 'search_products', description: 'Search the store catalog. Returns up to 10 in-stock products with price in USD, ' + 'available sizes and the product page URL.', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'What the shopper wants, e.g. "waterproof hiking boots"' }, maxPrice: { type: 'number', description: 'Maximum price in USD' }, size: { type: 'string', description: 'Size label, e.g. "10" or "M"' } }, required: ['query'] }, async execute({ query, maxPrice, size }) { const params = new URLSearchParams({ q: query, in_stock: 'true' }); if (maxPrice) params.set('max_price', String(maxPrice)); if (size) params.set('size', size); const res = await fetch(`/api/products?${params}`, { credentials: 'same-origin' }); if (!res.ok) throw new Error(`Search failed: ${res.status}`); const items = await res.json(); return items.slice(0, 10).map(p => ({ id: p.id, title: p.title, priceUsd: p.price, sizes: p.sizes, url: p.url })); } }); await document.modelContext.registerTool({ name: 'add_to_cart', description: 'Add a product variant to the shopper\'s cart. Returns the updated cart total.', inputSchema: { type: 'object', properties: { productId: { type: 'string' }, size: { type: 'string' }, quantity: { type: 'integer', minimum: 1, maximum: 5 } }, required: ['productId', 'quantity'] }, async execute({ productId, size, quantity }) { const res = await fetch('/api/cart/items', { method: 'POST', credentials: 'same-origin', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ productId, size, quantity }) }); if (!res.ok) throw new Error(await res.text()); const cart = await res.json(); return { items: cart.items.length, totalUsd: cart.total, checkoutUrl: '/checkout' }; } }); await document.modelContext.registerTool({ name: 'get_cart', description: 'Return the current cart: line items, shipping estimate and total in USD.', inputSchema: { type: 'object', properties: {} }, async execute() { const res = await fetch('/api/cart', { credentials: 'same-origin' }); return res.json(); } }); })(); 

A few choices that matter more than the syntax:

  • Reuse your existing APIs. Every tool calls an endpoint your frontend already uses, so prices, stock and cart rules stay in one place.
  • Write descriptions for a model, not a human. Say what comes back and in which units. "Price in USD" saves a wrong conversion.
  • Cap the blast radius in the schema. maximum: 5 on quantity is a cheap guard against an agent misreading "a pair" as 50.
  • No checkout tool. Payment stays on your normal checkout page, where the wallet's per-purchase approval happens. Agents add to cart; humans approve money.

This follows the shape of Chrome's documented imperative API (document.modelContext.registerTool with a name, description, input schema and an execute function). WebMCP is still an origin trial, so treat it as a progressive enhancement and keep the human flow working exactly as it does today.

3. Teach your fraud rules what an agent purchase looks like

This is the quiet one. A purchase that arrives from a headless browser, completes in 40 seconds and ships to an address the account has never used looks exactly like fraud to most rule sets. OpenAI says it is working with fraud prevention companies (Forter, Riskified, Sardine, Signifyd) and payment providers (Adyen, Checkout.com, Stripe) so their systems recognize legitimate agent purchases.

Practical steps:

  • Ask your payment or risk provider how they flag agent-initiated transactions, and whether they can see the network token and the verified agent signal.
  • Log agent sessions separately (verified agent, tool calls used, time to checkout) so you can measure approval and decline rates for this channel.
  • Review your own hard-coded rules: "too fast", "no mouse movement" and "new device" all describe agents.

Is this worth doing now?

Honest answer: volumes are small today. TechCrunch notes DoorDash and Uber report low numbers of agent orders, and Amazon blocks AI agents to steer people to its own assistant. But ChatGPT has 1.2 billion weekly users according to OpenAI, Meta's agent already has shopping as a top activity, and OpenAI says users will soon be able to pre-approve purchases by spending limit and category.

The cost of being ready is a CDN setting, a 100-line script and a conversation with your risk provider. The cost of not being ready is being the store the agent could not get into.

We build agent-ready product layers like this at Axionry, an AI product development studio: WebMCP tools, agent-friendly APIs and the AI agents on top, shipped in weeks. If you want your store or SaaS ready for agent traffic, book a call.

Sources