Lesson 4 of 5 · 5 min read
Paying per Request: x402 and the Machine Payments Protocol
x402 and MPP make payment part of an HTTP exchange. In x402 (from Coinbase, now the x402 Foundation) a server replies 402 with a PAYMENT-REQUIRED header, the client retries with PAYMENT-SIGNATURE, and the server settles, often via a facilitator. MPP (Tempo and Stripe, March 2026) frames payment as an HTTP authentication scheme: a WWW-Authenticate Payment challenge, an Authorization credential, a Payment-Receipt, and charge, session and subscription intents across stablecoins and cards. Either way any server can ask the agent for money, so spending policy belongs in the client.
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal