> ## 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.

# Overview

> Finance District covers both sides of x402: the wallet signs, Prism settles.

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:

* **Agent Wallet** acts as the **buyer** — signing ERC-3009 `transferWithAuthorization` calls 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.

> [card] [Agent Wallet (Buyer Side)](https://developers.fd.xyz/prism/integrations/x402/wallet.md)
>
> How the Agent Wallet selects a network, signs, and submits x402 payments

> [card] [Prism (Facilitator Side)](https://developers.fd.xyz/prism/integrations/x402/facilitator.md)
>
> How Prism middleware enforces x402 on merchant endpoints


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.