Integration paths
x402
The x402 protocol defines how onchain payment is negotiated over HTTP. The client receives payment requirements in the 402 response, signs with its wallet, and retries the request with anX-Payment header. A facilitator (for example, Coinbase Developer Platform) verifies and settles onchain.
Best for: x402-protected APIs, zero-fee USDC payments on Base, CDP-style facilitators.
Using Dynamic with x402
Wire up a Dynamic server wallet as the x402 payment client.
Tempo MPP
Tempo’s Machine Payment Protocol (MPP) extends HTTP 402 for machine-to-machine traffic. Themppx client handles negotiation, signing, and retry automatically. Dynamic’s Node SDK provides the MPC-backed signing account.
Best for: APIs and services that target Tempo’s network, machine-to-machine payments on Tempo Moderato.
Machine Payments on Tempo (Node.js)
Create a Dynamic server wallet, fund it, and make MPP payments to 402-protected APIs.
Choosing between x402 and Tempo MPP
| x402 | Tempo MPP | |
|---|---|---|
| Protocol | x402 | MPP |
| Settlement | Onchain (Base, USDC) | Tempo network |
| Client library | x402-fetch, x402-axios | mppx |
| Facilitator | CDP (and others) | Tempo |
Related
- Server Wallets Setup — create and manage the wallets your agent uses to pay
- Agents Overview — wallet patterns for autonomous agents and agents acting for users