x402 is an open payment protocol built on HTTP 402. A client requests a resource, the server returns payment requirements, the client pays on-chain, and the server delivers. No shared secrets, no OAuth. Finance District participates in x402 from both sides:Documentation Index
Fetch the complete documentation index at: https://developers.fd.xyz/llms.txt
Use this file to discover all available pages before exploring further.
- Agent Wallet acts as the buyer — signing ERC-3009
transferWithAuthorizationcalls inside a secure enclave and submitting the signed payment to the merchant. - Prism acts as the facilitator — middleware that enforces payment on merchant endpoints, verifies on-chain transfers via Spectrum, and settles to the merchant’s wallet.
Agent Wallet (Buyer Side)
How the Agent Wallet selects a network, signs, and submits x402 payments
Prism (Facilitator Side)
How Prism middleware enforces x402 on merchant endpoints