Accept x402 payments.
We pay the gas.

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.

Set it upLive status (JSON)

Why use it

Gasless and free

We submit the payer's signed transfer and pay the network fee. No cut, no monthly fee.

Non-custodial

USDC moves from the payer straight to your payTo wallet in one transaction. We only relay it.

Always up

If our fee wallet can't settle, the same request is routed to PayAI or Coinbase CDP automatically. Bad payments are never retried elsewhere.

Standard x402 v2

The exact scheme with /verify, /settle and /supported. Works with the official x402 SDKs and any compatible server.

Set it up in two steps

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

Get found by buyers

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.

Limits

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.