Dexter Facilitator
MAINNET

Polygon x402 Payments

Full x402 v2 support for Polygon mainnet. Settle payments with ultra-low fees and fast confirmations.

Polygon mainnetNetwork
Endpoint onlineFacilitator
$0Dexter fee

Polygon Integration

Use the public Dexter endpoint with the network value shown in the working server example.

https://x402.dexter.cashEndpoint online
npm i @dexterai/x402
import { createX402Server } from '@dexterai/x402/server';

const server = createX402Server({
  payTo: 'YourPolygonAddress',
  network: 'eip155:137',
  facilitatorUrl: 'https://x402.dexter.cash',
});

const requirements = await server.buildRequirements({
  amountAtomic: '30000',
  resourceUrl: '/api/paid-endpoint',
});

res.setHeader('PAYMENT-REQUIRED', server.encodeRequirements(requirements));
res.status(402).end();

What Polygon Supports

Exact and Upto Schemes

Fixed-price (exact) and usage-based billing (upto). Authorize a max, settle for actual usage.

Low Settlement Costs

Polygon offers some of the lowest transaction fees in the ecosystem.

Gas-Free for Buyers

Dexter sponsors POL fees, buyers only need USDC.

Same API Surface

All supported networks use the same API, so one integration works everywhere.