How an agentic payment works, step by step
Every agentic payment has the same parts: a person, an agent, something the agent pays with, a seller, and a payment rail that carries the money until it arrives. This page follows a payment through them for each of the two kinds described on What an agentic payment is: an agent buying from a seller for a person, and software paying software as it goes. Each system does it a little differently; the steps below are the common shape.
The parts
- You: the person or business that sets the goal and the limits, and whose money it is.
- The agent: the software that does the shopping and makes the payment.
- What the agent pays with: for a card payment, usually an agent token, a stand-in for your card number issued for that agent, with your limits attached; for a stablecoin payment, a wallet, software holding the keys that sign payments.
- The seller: the shop or service being paid.
- The rail: the system that carries the payment and completes it: a card network, PayPal, or a blockchain.
Kind 1: an agent buying from a seller
The train ticket on the first page is this kind.
- Setting up. Once, you connect a payment card to the agent's service. Instead of handing over your card number, the card network issues a token for that agent, and you set limits: how much, where, until when. Visa describes this as consumers setting "spending limits and conditions"; Mastercard says agents are first "registered and verified".
- Shopping. The agent searches, compares and picks a purchase that fits your instruction.
- Checking permission. The purchase is checked against what you allowed. In AP2 (the Agent Payments Protocol), that permission is a signed record called a mandate: either limits set in advance for the agent to act alone, or one finished basket that you approved.
- Checkout. The agent sends the order and a payment credential to the seller, through a checkout protocol such as the Agentic Commerce Protocol or the Universal Commerce Protocol, or through the seller's own checkout. The seller stays the seller: it decides what it sells and handles the order.
- Approval. The seller's payment company asks the card network and your bank to approve the payment, as for any card payment. This takes seconds.
- Delivery. The seller confirms the order, and the agent passes you the confirmation and the receipt.
- Settlement. Over the following days the money moves from your bank to the seller's. A card payment can still be disputed under the card's rules; how those rules apply to purchases an agent made is one of the Open problems.
Kind 2: software paying software, as it goes
- Setting up. The agent is given a way to pay, usually a wallet holding stablecoins, and a spending limit.
- Asking. The agent asks a web service for something: a page, some data, a calculation.
- "402 Payment Required". The service replies with the web's 402 code and a payment request: the price, the currency and how to pay. The Machine Payments Protocol calls this request a "Challenge".
- Paying. The agent's wallet signs a payment for exactly that amount, and the agent sends its request again with the payment attached.
- Checking. The service checks the payment, either itself or through a facilitator: a service that checks and completes payments on a blockchain for it, so it does not have to run that machinery itself.
- Delivery. The service sends what was asked for, sometimes with a receipt.
- Settlement. The payment is recorded on the blockchain and becomes final, within seconds or minutes depending on the network.
x402, the Machine Payments Protocol and L402 all follow this shape. They differ in the networks and currencies they support (L402 uses Bitcoin over the Lightning Network; the Machine Payments Protocol also accepts cards this way) and in who maintains them: see The rails today.
Where the person comes back in
In both kinds, the limits are what let the agent act without asking you each time. Most systems also let you step back in: to approve one purchase on your phone, to change the limits, or to be asked when a purchase falls outside them. How much an agent may do alone, and when it must ask, is set by you and by the system you use; it is not yet the same from one system to the next.
Next: The rails today
Sources
- Visa, 30 April 2025: https://usa.visa.com/about-visa/newsroom/press-releases.releaseId.21361.html
- Mastercard, 29 April 2025: https://newsroom.mastercard.com/news/press/2025/april/mastercard-unveils-agent-pay-pioneering-agentic-payments-technology-to-power-commerce-in-the-age-of-ai
- AP2 mandates: https://ap2-protocol.org/
- The Machine Payments Protocol's Challenge: https://mpp.dev/governance
- x402 and the facilitator: https://github.com/x402-foundation/x402
All pages: Agentic payments, explained