> ## Documentation Index
> Fetch the complete documentation index at: https://docs.palpaxai.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Client Introduction

> Learn how to support x402 in your client

## Why use x402 with your client

x402 standardizes how clients discover payment requirements, construct payment payloads, and complete on-chain payments for HTTP resources. Benefits include:

✅ Customers don't pay network fees.\
✅ Merchants don't pay network fees.\
✅ Payment settles in \< 1 second.\
✅ Universal compatibility -- if it speaks HTTP, it speaks x402.

## Architecture at a glance

<img src="https://mintcdn.com/nam-b8073607/olsjK-B6XSSK9EGo/images/x402-sequence-diagram.svg?fit=max&auto=format&n=olsjK-B6XSSK9EGo&q=85&s=3ae8dc424202f0c4f7be99ec8448cf53" alt="x402 sequence diagram" width="2056" height="1464" data-path="images/x402-sequence-diagram.svg" />

* **Client (buyer)**: Calls protected resources and constructs payment payloads.
* **Server**: Advertises payment requirements, verifies/settles payments, fulfills requests.
* **Facilitator**: Verifies and/or settles payments for the resource server.
* **Blockchains**: Execute and confirm payments.

## Getting started

Select one of the quickstart examples, or read the [reference](/x402/reference) for more details.

<Tabs>
  <Tab title="TypeScript">
    <CardGroup>
      <Card title="Axios" href="/x402/clients/typescript/axios" icon="code">
        Quickstart for building an x402 client with Axios.
      </Card>

      <Card title="Fetch" href="/x402/clients/typescript/fetch" icon="code">
        Quickstart for building an x402 client with Fetch.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Python">
    <CardGroup>
      <Card title="httpx" href="/x402/clients/python/httpx" icon="code">
        Quickstart for building an x402 client with httpx.
      </Card>

      <Card title="requests" href="/x402/clients/python/requests" icon="code">
        Quickstart for building an x402 client with requests.
      </Card>
    </CardGroup>
  </Tab>
</Tabs>

## x402 reference

For a deeper dive into message shapes, headers, verification and settlement responses, see the <a href="/x402/reference">x402 Reference</a>.

## Need help?
