X402 payment facilitator for AI API billing with Solana USDC and Base USDC support.
FacilitatorX402 is an early-stage Python project in the AI payments / x402 ecosystem, focused on ai-payments, base, payment-protocol, solana. It currently has 4 GitHub stars and 1 forks, and sits alongside related tools like tdm-integration-kit, tdm-sdk, TDM-Agent-Integration-Kit, x402-payments-skill, Sentinel, agentwallet-mcp.
Official verification and settlement implementation for the x402 v2 protocol,
built on the Python SDK (x402==2.16.0). The canonical production endpoint is
https://facilitator.acedata.cloud. The temporary validation candidate was
retired after the official-v2 production cutover completed in July 2026.
| Scheme | Network | CAIP-2 identifier | Asset |
|---|---|---|---|
| exact | Base mainnet | eip155:8453 |
Circle USDC |
| upto | Base mainnet | eip155:8453 |
Circle USDC through Permit2 |
| exact | SKALE Base | eip155:1187947933 |
Bridged USDC |
| exact | Solana mainnet | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
SPL USDC |
Solana devnet support exists behind configuration and is disabled by default. It is a testnet compatibility option, not a production rail.
GET /healthz: liveness and readiness probe.GET /supported: official facilitator kinds, extensions, and signer
addresses.POST /verify: validate and reserve a v2 payment authorization.POST /settle: settle a verified authorization. This endpoint requires
X-Settlement-Token.GET /.well-known/x402: facilitator metadata.GET /discovery/resources: paginated CAIP-2 resource catalog.GET /list: compatibility redirect to discovery.The official SDK handles protocol parsing, signature verification, simulation, and transaction construction. This service adds:
Database settings:
PGSQL_HOST, PGSQL_PORT, PGSQL_USER, PGSQL_PASSWORDPGSQL_DATABASE_FACILITATORCore settings:
APP_ENV, APP_SECRET_KEY, ALLOWED_HOSTSX402_SETTLE_TOKENX402_FACILITATOR_PUBLIC_URLX402_SETTLEMENT_LEASE_SECONDSX402_PREPARED_MAX_AGE_SECONDSX402_TX_TIMEOUT_SECONDSEach enabled rail requires its RPC URL, signer key/address, approved asset, and approved recipient. See docs/migration.md for the complete Base, SKALE, Solana, discovery, migration, cutover, and rollback configuration.
poetry install
poetry run python manage.py migrate
poetry run python manage.py runserver 0.0.0.0:8008
Run validation:
poetry run pytest -q
poetry run ruff check .
poetry run ruff format --check .
Local container:
docker compose build
docker compose up
Compose loads the gitignored .env when present. It can still build without the
file in CI, but payment rails require their configured RPC, signer, asset, and
recipient values before runtime use.
The shared image runs as non-root UID/GID 10001 and serves ASGI with Uvicorn
on port 8000.
.github/workflows/ci.yaml: PR test, lint, and Docker build..github/workflows/deploy.yaml: manual production build and deployment from
main through deploy/run.sh.Production deployment uses a Recreate strategy to prevent old and official settlement semantics from overlapping. The runbook quiesces traffic, checks legacy records, applies migrations, deploys two replicas, starts reconciliation, and rolls back the Deployment and CronJob if validation fails.
See docs/migration.md for the completed official-v2 migration record and rollback constraints.
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
Open contract-facing SDK for payable routes and gateway-backed integrations. Thin public surface for authorize, checkout, and session flows.
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
The most comprehensive x402 payments skill for AI coding agents. Build paid APIs on Base & Solana with USDC. Includes Sentinel Payment Router.
Enterprise audit, compliance & budget enforcement layer for the x402 payment protocol
Permissionless wallet infrastructure for AI agents. Create wallets, sign transactions, and broadcast on EVM + Solana. Pay and accept x402 payments. Built-in guards. No KYC. Up to 50% less expensive than Coinbase.
Production-ready x402 facilitator server.
Rust SDK for the x402 payment protocol.
Accept payments from AI agents. Open-source. Your data, your domain, your rules. Free forever.
A production-ready payment settlement service for the x402 protocol. Built with Elysia and Node.js, it verifies cryptographic payment signatures and settles transactions on-chain for EVM, SVM (Solana), and Starknet networks.
Golang implementation of an x402 payment facilitator
x402 payment facilitator — verifies and settles EIP-3009 USDC micropayments on Base, Arbitrum, and Ethereum.