§ 01What you need
An address on Robinhood Chain to receive USDG, and a Node server. Your buyers need USDG on Robinhood Chain and nothing else: they pay by signature, the facilitator pays the gas.
Facilitator status right now: checking…
Put a price on an endpoint and get paid in USDG on Robinhood Chain by any x402 client, AI agents first. You keep your server and your address; MIRAI's facilitator verifies each payment, sends it on chain and pays the gas. No sign-up, no key, no fee.
An address on Robinhood Chain to receive USDG, and a Node server. Your buyers need USDG on Robinhood Chain and nothing else: they pay by signature, the facilitator pays the gas.
Facilitator status right now: checking…
paywall() answers an unpaid request with 402 and your terms, and lets a paid one through once the payment has settled. It works as Express or Connect middleware.
The 402 carries x402 v2 terms in the PAYMENT-REQUIRED header and the same JSON in the body: exact USDG on eip155:4663, the amount in base units (6 decimals), your payTo and USDG's EIP-712 domain. The paid response carries PAYMENT-RESPONSE with the settlement transaction.
Another facilitator: paywall({ …, facilitator: "https://your-facilitator/x402" }). A v1 client paying with X-PAYMENT is accepted too.
Already running an x402 server library? Keep it. Give it MIRAI's facilitator URL and price the route in USDG on Robinhood Chain. The facilitator speaks the public x402 HTTP API, versions 1 and 2.
Before anything moves, and again right before it sends:
A facilitator's word is not proof of payment. USDG does not revert every transfer that moves nothing, so the paywall can read the settlement's receipt itself before it serves:
MIRAI's seller directory reads public x402 lists every hour (Dexter's discovery list, Spraay's gateway manifest, Agent402's manifest) and asks each endpoint for its 402 without paying. An endpoint is listed when that 402 takes exact USDG on eip155:4663 by EIP-3009, at a public https address, paid to the address the list names. Agents find it through /api/sellers and the find_sellers MCP tool.
If your seller is also an ERC-8004 agent, set payTo to its registry payment wallet: USDG paid there by EIP-3009 counts as its x402 income in the MIRAI Score.