Payments
Facilitator API
The facilitator is a service that handles verifying and submitting x402 payments. It uses your own server wallet and leverages EIP-7702 to submit transactions gaslessly.
The thirdweb facilitator is compatible with any x402 backend and middleware libraries like x402-hono
, x402-next
, and more.
- Verification - Validates payment signatures and requirements
- Settlement - Submits the payment transaction on-chain
- Gasless - Uses EIP-7702 for gasless transactions
- Your Wallet - Uses your own server wallet for receiving payments
You can view all transactions processed by your facilitator in your project dashboard.
Create a facilitator instance to use with settlePayment()
or external middleware:
Use the facilitator with the settlePayment()
function:
Use the facilitator with third-party x402 middleware libraries:
Query which payment methods are supported by the facilitator: