Learn x402

x402 lets software pay for an HTTP resource over HTTP itself: the server answers 402 with machine-readable terms and the client retries with a signed payment. These guides explain how the protocol works, field by field, and what has to hold for an agent to pay safely, with links to the specifications they paraphrase.

The three x402 roles and the messages between them, in order.

In short

Settlens' x402 guides explain how agentic payments over HTTP 402 work and how to secure them: the protocol and its V2 headers, migrating from V1, EIP-3009 signatures, a security checklist, agent spending policies, facilitator security, error codes and a glossary, each citing the specifications.

Recommended reading path

Read in this order if x402 is new to you. Each guide builds on the previous one.

Put it into practice

The guides paraphrase the specifications listed under Sources: when they disagree with a guide, the specification wins. To run the same checks:

Sources

  1. x402 protocol specification, version 2x402 Foundation · github.com
  2. x402 HTTP transport, version 2x402 Foundation · github.com
  3. ERC-3009: Transfer With AuthorizationEthereum Improvement Proposals · eips.ethereum.org

Check your own x402 endpoints

A scoped pilot on one paid endpoint or facilitator, with a report your engineers and partners can verify.