ERC-7715 and the agent payment stack · x402 + AP2 + 4337/7702 coordination
Wiki route
This entry sits under AI Agent payment protocols overview · a 7-protocol survey. Read it against payments index for peer / contrast context and systems index for the broader system / regulatory boundary.
Key facts
- x402 handles the payment handshake at the HTTP layer (driven by Cloudflare/Coinbase/AWS) •
- AP2 / MPP / ACP handle the negotiation metadata between agents •
- ERC-7715 handles authorization from wallet to agent •
- ERC-4337 / 7702 provide the foundation for programmable wallets •
- Major players: MetaMask Snaps / Coinbase Smart Wallet / Safe / Privy / Pimlico / ZeroDev •
Mechanism / How it works
4-layer stack architecture:
| Layer | Protocol | Role |
|---|---|---|
| HTTP | x402 | The API returns 402 + payment instructions · the client retries after completing payment |
| Agent negotiation | AP2 / MPP / ACP / A2A | mandate / intent metadata standards |
| Wallet authorization | ERC-7715 | Grants scoped permission to the agent · one authorization, multiple uses |
| Wallet foundation | ERC-4337 / 7702 | Programmable wallets (see ERC-4337 and ERC-7702) · supports module / delegation |
Typical agent auto-payment flow:
- The user authorizes the agent “may pay up to $5 per day to the vercel.com API” (7715 scoped permission)
- The agent calls the Vercel API · Vercel returns HTTP 402 + USDC payment instructions (x402)
- The agent automatically draws $0.50 USDC from the wallet and settles (within 7715 scope · no user signature needed)
- Vercel verifies the payment · returns the API response
- The user confirms in the wallet UI that a cumulative $X.XX has been paid to Vercel that day · the permission can be revoked at any time
Potential of Stripe Privy integration: Stripe is already connected to ERC-4337 embedded wallet adoption via Privy (already acquired). Once Stripe + Privy + 7715 + AP2 are integrated · any SaaS can accept auto-payment from an agent · no credit-card number, no OAuth, no subscription management needed — migrating the SaaS billing layer from Stripe Billing (card-based) to on-chain permission (address + scope-based). For details see Stripe five-layer Trojan horse.
Division of labor among major players:
- MetaMask Snaps: implements 7715 in 2025 · EOA + 7702 dual mode
- Coinbase Smart Wallet: native support · integrated with the Coinbase Agent SDK
- Safe{Core}: implemented in Module form · institutional multi-sig + sub-permissions
- Privy: integrates 7715 + AP2 · Stripe agent-payment scenarios
- Pimlico / ZeroDev: provide 7715 ↔ 4337 bundler middleware
- Tempo / Arc: potential adopters — the agent economy is the core narrative
- JPM Kinexys: not participating — a permissioned network · its permission model uses a proprietary standard
Origin & evolution
The concept of the agent payment stack took shape gradually over 2024-2025 — initially each protocol (x402 / AP2 / 7715) was driven by a separate team, but deliberate coordination began from the second half of 2025 . The “native agent payment” demo that Coinbase Smart Wallet unveiled in 2025 was the decisive proof-of-concept event, demonstrating the end-to-end operation of the 4-layer stack.
Stripe’s acquisition of Privy (2024) is the first case of a Web2 payment giant betting explicitly on the on-chain permission model. The first production-grade agent SaaS integration cases are expected to appear over 2026-2027 .
Related
- Wiki Index
- ERC-7715 Overview
- AP2 Overview
- ERC-4337
- ERC-7702
Sources
- Coinbase Smart Wallet agent payment demo(2025)
- ERC-7715 (Request Permissions from Wallets) — https://eips.ethereum.org/EIPS/eip-7715
Discovery
Keep reading
Read next
- Lit Protocol PKP · Programmable Key Pairs for AI agents This entry sits under AI Agent payment protocols seven-protocol overview. Read it against Privy embedded wallet and Coinbase CDP for peer wallet stacks, ERC-7715 wallet permissions for the p... agent-economy/lit-protocol-pkp-agent-keys
- LLM and AI agent applications in finance · 2026-05 application surface overview As of mid-2026, the LLM / AI-agent footprint in finance has bifurcated into shipped production surfaces (customer-facing chatbots, back-office automation, fraud / AML triage, developer copil... agent-economy/llm-agent-finance-application-overview-2026
- Nevermined · AI compute-payment protocol This entry sits under AI Agent payment protocols seven-protocol overview. Read it against x402 · HTTP-native micropayment for peer / contrast, skill market monetization for the marketplace f... agent-economy/nevermined-compute-payment-protocol
Links here
- Agent custody and authorization framework · 2026-05 reference architecture Agent custody and authorization in 2026 has converged into a three-axis design space: (1) custody model — full self-custody (user holds key, agent has no independent control), hybrid (Lit PK... agent-economy/agent-custody-and-authorization-framework-2026
- Agent identity bridging DeFi and traditional finance · KYA, Skyfire, Lit PKP, mDL, MiCA, GENIUS Agent identity in 2026 sits at the bridge between DeFi-native primitives (smart-contract wallets, on-chain attestations, ERC-4337 / ERC-7702 wallets controlled by Lit PKP threshold keys or s... agent-economy/agent-identity-defi-and-traditional-finance-bridge
- Agent Payment Protocol four-way comparison matrix 2026 · AP2 / x402 / Skyfire / Nevermined plus ERC-7715 + Lit PKP This entry sits under agent-economy index. Read it against AI Agent 決済プロトコル全体図 · 7プロトコル俯瞰 for the broader seven-protocol landscape, agent protocol mainnet adoption 2026 for production-readin... agent-economy/agent-payment-protocol-four-way-comparison-2026
- Agent Protocol Mainnet Adoption · 2026-05 Production-Readiness Snapshot As of May 2026, the agent-payment protocol stack has bifurcated sharply between mainnet-shipped infrastructure and testnet / consortium-only specs. The production-live tier is dominated by x... agent-economy/agent-protocol-mainnet-adoption-2026
- AP2 adoption landscape · Google closed loop vs the four-protocol war This entry sits under AI Agent 決済プロトコル全体図 · 7プロトコル俯瞰. Read it against payments index for peer / contrast context and systems index for the broader system / regulatory boundary. agent-economy/ap2-adoption