What is an x402 facilitator?
A service that checks and settles x402 payments for a resource server. The server sends it the buyer's signed payment and its own payment requirements. /verify says whether the payment is valid. /settle submits it on-chain and returns the transaction hash. /supported lists the schemes and networks it handles. The server never has to run a node or hold gas.
Do I need a facilitator to accept x402 payments?
No. The spec lets a resource server verify and settle by itself. A facilitator is a convenience: someone has to submit the signed authorization on-chain and pay the gas, and a facilitator does that for you.
Which x402 facilitator should I use?
Three kinds exist. Coinbase's CDP facilitator needs a CDP API key, has a monthly free allowance of on-chain transactions and charges per transaction above it, and its settlements are what get endpoints indexed in the Coinbase Bazaar. Open facilitators such as pay.openfacilitator.io need no account. Or you can self-host one with the reference SDKs. Pick by what you can accept: an account, a third party, or running a gas wallet yourself.
If the facilitator says isValid: true, can I serve the request?
Not on that alone. A facilitator answers for a payment it did not quote, so it can only check that the payment covers the requirement it was given. The resource server should still check its own quote: exact amount, recipient, asset, network, a valid signature, enough balance and an unused nonce. We have seen a facilitator report a corrupted signature and an empty wallet as valid.
Who pays the gas when an x402 payment settles?
Whoever submits the EIP-3009 authorization on-chain. With a facilitator, that is the facilitator's own wallet. The buyer only signs, and the seller only receives, so neither needs ETH.
What is settlement preemption?
EIP-3009 lets anyone submit a signed authorization, not only the facilitator. Someone who sees the payment header in transit can land it first. The money still reaches the seller, because recipient and amount are in the signature, but the facilitator's own settlement then fails. A server can recover by finding the AuthorizationUsed event for that payer and nonce and checking that the same transaction moved exactly the quoted USDC to its own address.
What does an x402 facilitator cost?
It depends on which one. Coinbase's CDP facilitator documents a monthly free allowance of transactions and a per-transaction fee above it, with verification free. Open facilitators set their own terms. A self-hosted facilitator has no fee, but you pay the gas for every settlement from your own wallet. In every case the buyer pays no gas: the facilitator submits the transfer.
Can I self-host an x402 facilitator?
Yes. The protocol only defines the /verify, /settle and /supported endpoints, so any service that implements them works, and a resource server switches facilitator by changing a URL. You then hold a hot wallet that pays gas, so it needs the refusals in §04: pin the asset, refuse zero amounts, restrict recipients, lock per authorization, and cap the gas price.
What happens if settlement fails after the answer was prepared?
The paid answer should not be released. A server that serves first and settles afterwards gives the answer away whenever settlement fails. The safe order is verify, do the work, settle, and only then return the result with the PAYMENT-RESPONSE header. A failed settlement is answered with a 402 and the buyer is not charged.