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

<CardGroup cols={2}>
  <Card title="Agent Wallet (Buyer Side)" icon="wallet" href="/prism/integrations/x402/wallet">
    How the Agent Wallet selects a network, signs, and submits x402 payments
  </Card>

  <Card title="Prism (Facilitator Side)" icon="server" href="/prism/integrations/x402/facilitator">
    How Prism middleware enforces x402 on merchant endpoints
  </Card>
</CardGroup>
