Dexter Facilitator
MAINNET

BSC x402 Payments

x402 settlement on BSC via Permit2. BSC stablecoins use 18 decimals and lack EIP-3009, so all settlements go through the standard Permit2 path. Gas sponsored.

BNB Smart ChainNetwork
Endpoint onlineFacilitator
$0Dexter fee

BSC 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: 'YourBscAddress',
  network: 'eip155:56',
  facilitatorUrl: 'https://x402.dexter.cash',
});

const requirements = await server.buildRequirements({
  amountAtomic: '1000000000000000000', // 1 USDT (18 decimals)
  resourceUrl: '/api/paid-endpoint',
});

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

What BSC Supports

Exact Scheme (Permit2)

Standard x402 exact scheme via Uniswap Permit2. BSC stablecoins lack EIP-3009, so Permit2 is the settlement path. No BSC-specific code needed.

USDT + USDC (18 Decimals)

Both Binance-Peg stablecoins supported. 18 decimals (not 6). The facilitator handles decimal conversion automatically.

Gas Sponsored

Dexter pays BNB gas for every BSC settlement. Buyers only need stablecoins.