AIPayGen runs a free x402 facilitator for USDC on Base Sepolia (testnet) and Base. Point your resource server at one URL and buyers' payments land in your wallet directly. We never hold the money.
We submit the payer's signed transfer and pay the network fee. No cut, no monthly fee.
USDC moves from the payer straight to your payTo wallet in one transaction. We only relay it.
If our fee wallet can't settle, the same request is routed to PayAI or Coinbase CDP automatically. Bad payments are never retried elsewhere.
The exact scheme with /verify, /settle and /supported. Works with the official x402 SDKs and any compatible server.
1. Get a free key. Settling costs us gas, so it needs a key. That's also how we count your volume.
curl -X POST https://aipaygen.com/v1/keys
2. Use our facilitator URL wherever your x402 server takes one:
import { HTTPFacilitatorClient } from "@x402/core/server";
// Verify is open; settle needs your free AIPayGen key (POST https://aipaygen.com/v1/keys).
const auth = { Authorization: `Bearer ${process.env.AIPAYGEN_KEY}` };
const facilitator = new HTTPFacilitatorClient({
url: "https://aipaygen.com/facilitator",
createAuthHeaders: async () => ({ verify: auth, settle: auth, supported: {} }),
});
// Pass `facilitator` to x402ResourceServer (or your framework's paymentMiddleware) as usual.
Check what we support: curl https://aipaygen.com/facilitator/supported
Agents search the AIPayGen marketplace through our MCP server and API. It already indexes the public x402 directories (Coinbase CDP Bazaar and PayAI), so endpoints listed there show up here too. If you sell through an agent, list its A2A card for free with POST https://aipaygen.com/v1/register_agent. See what buyers are searching for and not finding at /market/wanted.
Settlements are rate limited per key. Only USDC with the exact scheme is supported today. Testnet settlements on Base Sepolia are free too and are a good way to try it first.