X402

x402 Introduction

The basics of x402 on Polygon

x402 is an open payment protocol that brings blockchain payments into a familiar web standard. By re-using the HTTP 402 Payment Required status code, it lets developers handle on-chain and agentic payments with the same tools they already use for APIs and web services.

Instead of building complex wallet integrations or subscription systems, developers can simply treat payments like another part of the HTTP request/response cycle. This lowers the barrier for web2 developers experimenting with web payments, while also giving web3 builders a lightweight way to support pay-per-use APIs, agent-to-agent transactions, and micropayments.

Read more about x402 here.

Access on Polygon

Polygon currently supports x402 on Mainnet and Amoy through the following facilitators:

  1. Polygon Testnet Facilitator: https://x402-amoy.polygon.technology
  2. ThirdWeb
  3. x402.rs Facilitator Endpoint
  4. Pay.AI

Please note: For mainnet access through Polygon's Facilitator, reach out for access here.

To implement x402 with Polygon and your applications or agents, follow our tutorials and guides in these docs. Alternatively, the x402 community has created multiple examples which can be easily adapted for Polygon.

On this page