Overview
The Machine Payment Protocol (MPP) is a lightweight, Push-based payment standard designed for high-frequency agent interactions. It sits on top of standard W3C HTTP Payment Headers. Unlike x402 (which uses a Pull model where the merchant executes the transfer), MPP operates on a Push model. The agent broadcasts the transfer on-chain, and hands the merchant the transaction hash as proof. The merchant simply verifies the hash exists on-chain and unlocks the resource.How mag3nt Handles MPP
Because MPP is a Push protocol, mag3nt acts as a pure payment rail for MPP endpoints, completely removing itself from your agent’s data path. When your agent hits an MPP endpoint, pass the URL to mag3nt:- mag3nt parses the
WWW-Authenticate: Paymentchallenge. - mag3nt executes the on-chain transfer to the merchant via CDP.
- mag3nt constructs the MPP
Authorization: Paymentcredential containing the transactionhash(type: "hash"). - mag3nt hands the credential back to your agent.
Streaming Micropayments
MPP’s lightweight nature makes it perfect for streaming micropayments (pay-per-token, pay-per-API-call). mag3nt supports continuous payment channels over MPP:Finding MPP Services
You can discover APIs and agents that accept MPP payments by browsing the MPP Services Directory.Receiving MPP Payments & Pay Links
If you are building a service that accepts MPP, you must throw a402 Payment Required with a WWW-Authenticate: Payment challenge.
To make this frictionless, mag3nt supports Pay Links. You can inject a mag3nt Pay Link directly into your MPP challenge via the settleUrl extension. This allows agents to pay you instantly, while also providing a fallback URL for humans to pay via a web UI.