- Agent traffic identified as its own channel rather than blocked as bots
- Every agent payment tied to a customer mandate with limits and expiry
- Agent purchases using network tokens instead of raw card numbers
- Dispute cases arriving with the agent, mandate and decision trail attached
- Merchants able to opt in by product category and limit
Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.
The situation
A US payment processor served mid-sized online merchants, routing over a million card and wallet transactions a day through a payment orchestration layer, a risk engine and a disputes operation. Through the autumn, a growing share of checkouts came from AI agents acting for customers. The risk engine scored them as bots, so some were declined and others slipped through by imitating browsers. When a customer disputed an agent purchase, nobody could say what the agent had been authorised to do.
Why now. Agent shopping moved from demonstrations to production in November 2026: Walmart opened its Agent Gateway to Meta's Muse, with checkout inside the agent conversation, a card stored with the retailer and a spending cap set by the customer1. The card networks had already set direction, with Visa Intelligent Commerce and Mastercard Agent Pay built around tokenised credentials for verified agents2, and both continued building out frameworks for authenticated agents3. Merchants started asking their processor the obvious question: can we accept this safely?
What had to be true
- Agents identified, not guessed: a registered agent, acting for a known customer.
- A mandate checked on every payment, independent of what the agent says.
- No raw card numbers in agents' hands: tokens scoped to the agent and merchant.
- Risk that understands agents: different signals, not just "bot or human".
- Disputes resolvable with evidence of what was authorised and what happened.
- No added latency on the existing human checkout path at over a million transactions a day.
Architecture
The data flow, end to end
- Set upThe customer authorises an agent once, with limits, through a step-up check
- RequestThe agent calls the merchant agent API, declaring itself and the customer
- VerifyRegistry confirms the agent; mandate service checks limits, merchant and expiry
- PayOrchestration charges a network token scoped to this agent and merchant
- ScoreRisk uses agent signals: mandate fit, agent history, basket pattern
- RecordAgent, mandate version and decision are stored with the transaction
The hard part: proving what the customer authorised
Disputes were the deciding problem. A customer who says "I did not buy this" and an agent provider who says "the customer asked for it" cannot both be checked without a record that neither controls. The processor became that record. Each mandate was versioned, every payment stored the mandate version it was checked against, and the decision trail travelled with the transaction into the disputes system.
Keeping that trail intact across dozens of services was an engineering problem in its own right. The team carried agent and mandate identifiers alongside the trace context, so every span in a payment, from the merchant API to the network, could be tied back to the authorisation. OpenTelemetry's context propagation is the mechanism: trace context is passed between services in request headers, so spans in different services join one trace4.

Never take an agent's word for its own permissions. The mandate lives with the processor, and the agent only ever presents a reference to it.
The approach built on the processor's existing idempotency and orchestration patterns, described in the payments platform case study and idempotent payment pipelines; agent design followed how to design agents that move money and agentic commerce.
How it ran
- Merchant interviews
- Agent provider onboarding terms
- Merchant opt-in controls
- Agent registry and mandates
- Token scoping and orchestration
- Context propagation
- Agent signals in scoring
- Evidence packs for disputes
- Channel monitoring
- Measure agent-driven traffic
- Separate from bots
- Dispute review
- Agent registry
- Mandate service
- Merchant agent API
- Scoped tokens
- Agent risk signals
- Pilot merchants
- Dispute evidence
- Merchant controls
- Wider rollout
Key decisions and trade-offs
| Decision | Alternative | Why |
|---|---|---|
| A separate agent channel | Treat agents as bots and block | Declared agents are easier to secure than disguised ones |
| Mandates held by the processor | Trust agent-asserted permissions | The party settling disputes must hold the record |
| Tokens scoped per agent and merchant | Reuse the customer's card-on-file token | Limits blast radius if an agent is compromised |
| Agent-specific risk signals | One risk model for all traffic | Agent baskets and timing look nothing like humans' |
| Merchant opt-in by category | All merchants on by default | Some merchants' goods are poor fits for agents |
What I'd do again, and differently
Again: start from disputes and work backwards; designing the evidence first made every other choice clearer. Differently: agree data-sharing terms with agent providers before building the registry. Several wanted to send far more customer data than the processor needed, and narrowing that late cost time. For merchants weighing their own options, see the agent-ready marketplace case study.
If you run payments in the United States, my work with US companies explains how I approach it, or analyse your challenge and bring the result to a call.
- 1Walmart Enables Muse Shopping Through Its Agent GatewayUnite.AI · Nov 2026
- 2Visa and Mastercard unveil AI-powered shoppingTechCrunch · 30 Apr 2025
- 3
- 4Context propagationOpenTelemetry documentation