How an agent actually pays: the x402 round-trip
The mechanism that suddenly became standard is structurally simple. An agent calls an API. The server replies HTTP 402 Payment Required with a price quote. The agent's wallet signs a stablecoin payment authorization. The settlement lands on-chain — Base with USDC for AgentCore, Solana for Pay.sh — and the server returns the actual response with a proof of payment attached. Coinbase's Brian Foster frames this as the missing layer for an internet where 'there will soon be more AI agents transacting than humans, and they need money that's built for the internet.' What changed in May 2026 is that this round-trip is no longer something a developer assembles by hand. AgentCore Payments handles x402 negotiation, wallet authentication, stablecoin payment, and proof delivery as a managed service, with spending limits enforced at the infrastructure layer. On Base, that whole loop closes in roughly 200 milliseconds at less than a fraction of a cent per call — fast enough that an agent can pay per API hit instead of pre-buying credits.




