x402 payments USDC infrastructure facilitator

x402 Facilitators: The Infrastructure Behind Seamless Crypto Payments

A comprehensive guide to x402 facilitators - what they do, why they matter, and a complete list of available facilitators with their supported networks.

PayIn Team | | 6 min read

x402 Facilitators

In the x402 protocol, facilitators are the invisible backbone that makes seamless crypto payments possible. They abstract away all blockchain complexity, enabling developers to accept payments without managing wallets, gas fees, or RPC connections.

What is a Facilitator?

A facilitator is a trusted third-party service that handles two critical operations in the x402 payment flow:

OperationPurposeLatency
VerifyCryptographic validation of payment signatures and balance checks~100ms
SettleOn-chain transaction submission and confirmation~2s on Base

When a client sends a payment request with an X-PAYMENT header, your server doesn’t need to interact with the blockchain directly. Instead, it forwards the payment payload to the facilitator, which handles all the heavy lifting.

The Verify-Then-Settle Pattern

Client → Server → Facilitator (/verify) → Server responds → Facilitator (/settle)
  1. Verify Phase: The facilitator validates the EIP-3009 signature, checks the payer’s balance, and confirms the payment parameters match
  2. Settle Phase: After your server responds to the client, the facilitator executes the on-chain transfer asynchronously

This pattern optimizes for speed—users get instant responses without waiting for blockchain confirmation.

Why Facilitators Matter

1. Zero Blockchain Infrastructure

Without a facilitator, you’d need to:

  • Run your own RPC nodes
  • Manage hot wallets for gas payments
  • Handle transaction signing and broadcasting
  • Monitor for confirmations and failures
  • Implement retry logic for failed transactions

Facilitators eliminate all of this complexity.

2. Compliance and Security

Production-grade facilitators like Coinbase’s CDP include:

  • KYT (Know Your Transaction) checks
  • OFAC compliance screening
  • Rate limiting and fraud detection
  • Audit trails for all transactions

3. Multi-Network Support

A single facilitator can handle payments across multiple blockchains, letting you accept USDC on Base, Polygon, Solana, and more without deploying separate infrastructure for each.

Available Facilitators

Production Facilitators

1. Coinbase CDP Facilitator

The official Coinbase-hosted facilitator, recommended for production use.

PropertyValue
URLhttps://x402.org/facilitator
AuthCDP API Key required
FeaturesKYT/OFAC compliance, monitoring, SLA

Supported Networks:

NetworkTypeToken
BaseMainnetUSDC
Base SepoliaTestnetUSDC
SolanaMainnetUSDC
Solana DevnetTestnetUSDC

Setup:

import { facilitator } from "@coinbase/x402";
import { paymentMiddleware } from "x402-express";

// Requires CDP_API_KEY_ID and CDP_API_KEY_SECRET env vars
app.use(paymentMiddleware(walletAddress, routes, facilitator));

2. PayAI Facilitator

A Solana-first, multi-network facilitator with broad chain support.

PropertyValue
URLhttps://facilitator.payai.network
AuthAPI Key
Features12+ networks, Solana optimized

Supported Networks:

NetworkTypeToken
SolanaMainnetUSDC
Solana DevnetTestnetUSDC
BaseMainnetUSDC
Base SepoliaTestnetUSDC
PolygonMainnetUSDC
Polygon AmoyTestnetUSDC
AvalancheMainnetUSDC
Avalanche FujiTestnetUSDC
SeiMainnetUSDC
Sei TestnetTestnetUSDC
IoTeXMainnetUSDC
PeaqMainnetUSDC
XLayerMainnetUSDC
XLayer TestnetTestnetUSDC

3. x402.rs Facilitator

An open-source, community-maintained facilitator.

PropertyValue
URLhttps://facilitator.x402.rs
AuthNone (public)
FeaturesOpen source, self-hostable

Supported Networks:

  • Base, Base Sepolia
  • Solana, Solana Devnet
  • Polygon
  • Avalanche
  • XDC

4. Stake Capital Facilitator

Enterprise-grade facilitator with over $2.35M processed.

Supported Networks:

  • Avalanche
  • Celo
  • Solana
  • Polygon
  • Base

Test/Development Facilitator

x402.org Public Facilitator

For development and testing only—no API key required.

PropertyValue
URLhttps://x402.org/facilitator
AuthNone
LimitationsTestnet only

Supported Networks:

NetworkType
Base SepoliaTestnet
Solana DevnetTestnet

This is the default facilitator configured in the x402 middleware packages. Perfect for getting started quickly:

// No facilitator config needed for testing!
app.use(
  paymentMiddleware(walletAddress, {
    "GET /api/test": {
      price: "$0.001",
      network: "base-sepolia", // Uses x402.org by default
    },
  })
);

How Facilitators Work Under the Hood

Verify Endpoint

POST /verify
Content-Type: application/json

{
  "paymentPayload": { ... },
  "paymentRequirements": { ... }
}

The facilitator:

  1. Decodes the EIP-3009 or Solana authorization signature
  2. Verifies the signature is valid and from the claimed payer
  3. Checks the payer has sufficient balance
  4. Validates the nonce hasn’t been used
  5. Confirms the payment amount and recipient match

Response:

{
  "isValid": true,
  "invalidReason": null,
  "payer": "0x..."
}

Settle Endpoint

POST /settle
Content-Type: application/json

{
  "paymentPayload": { ... },
  "paymentRequirements": { ... }
}

The facilitator:

  1. Constructs the on-chain transaction (e.g., transferWithAuthorization for EVM)
  2. Submits to the blockchain
  3. Waits for confirmation
  4. Returns the transaction hash

Response:

{
  "success": true,
  "transaction": "0x...",
  "networkId": "84532"
}

Running Your Own Facilitator

For maximum control, you can run your own facilitator. This is useful for:

  • Privacy: Keep payment data internal
  • Custom Networks: Support chains not covered by public facilitators
  • Cost Control: Avoid third-party fees
  • Compliance: Meet specific regulatory requirements

The x402 GitHub repository includes example facilitator implementations you can customize.

Choosing the Right Facilitator

Use CaseRecommended
Production (US/compliant)Coinbase CDP
Multi-chain productionPayAI or Stake Capital
Development/testingx402.org public
Self-hosted/privacyx402.rs or custom

Security Considerations

  1. Trust Model: The facilitator sees all payment data. Choose one you trust or run your own.

  2. Settlement Risk: Since content is served before settlement completes, there’s a small risk window. See our developer’s guide for mitigation strategies.

  3. API Key Security: For production facilitators, protect your API keys. Never commit them to version control.


Facilitators are what make x402 practical. By handling blockchain complexity behind a simple API, they let developers focus on building great products instead of managing infrastructure.