What is an x402 Facilitator?
An x402 facilitator is a server in the x402 protocol that handles payment verification and on-chain settlement on behalf of resource servers. It exposes /verify and /settle endpoints, enabling resource servers to accept payments without interacting with blockchains directly.
WHY IT MATTERS
In the x402 protocol, a resource server wants to charge for an API endpoint — but shouldn't need to understand blockchain internals like gas estimation, RPC connections, or transaction confirmation. The facilitator abstracts this complexity.
When a client sends a payment payload (via the PAYMENT-SIGNATURE header), the resource server forwards it to the facilitator's /verify endpoint to check validity. If valid, the server fulfils the request and then calls /settle to execute the on-chain transfer. The facilitator handles chain-specific logic for each supported (scheme, network) pair.
Critically, the x402 spec requires facilitators to be trust-minimising — they must not be able to move funds beyond what the client authorised. The exact scheme uses EIP-3009 transferWithAuthorization signatures, meaning the facilitator submits a pre-signed authorisation rather than having custody of funds.
Coinbase operates the reference facilitator at x402.org/facilitator, but the protocol is open — anyone can run a facilitator. Cloudflare's Agents SDK integrates with facilitators natively, and the x402 Foundation (co-founded by Coinbase and Cloudflare) is working to expand the facilitator ecosystem.
HOW POLICYLAYER USES THIS
PolicyLayer sits between the agent and the facilitator — validating spending policies before the agent even constructs a payment payload. While the facilitator ensures payment mechanics are correct, PolicyLayer ensures the payment should happen at all: checking budgets, recipient allowlists, rate limits, and domain pinning before a single signature is created.