> For the complete documentation index, see [llms.txt](https://docs.slinky.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slinky.network/payments/how-x402-requests-work.md).

# How x402 requests work

x402 lets an HTTP resource return a price as part of the request flow. The client can pay for one call without creating a subscription or keeping a prepaid balance with the individual provider.<br>

<figure><img src="/files/tmCBqhzed8XS5zGoK1G0" alt=""><figcaption></figcaption></figure>

1. The client sends a normal request to a discovered resource.
2. The resource returns HTTP `402` and a `PAYMENT-REQUIRED` header.
3. The client checks the amount, network, asset, destination and expiry.
4. A compatible wallet creates the authorization.
5. The client repeats the request with `PAYMENT-SIGNATURE`.
6. The resource returns the result and can include `PAYMENT-RESPONSE`.

Paying for one resource does not grant permission to read more conversation history, call a second paid resource or submit an onchain action. Each additional operation needs its own policy decision.
