Switch to Toll's facilitator
Already selling over x402? One URL changes. Your price, your payTo and your 402 answer stay as they are.
What you change
The facilitator URL your server sends payments to. Nothing else.
https://x402.t0ll.xyz
As an environment variable
# wherever your x402 server reads its facilitator FACILITATOR_URL=https://x402.t0ll.xyz
In code
// @x402/core and the packages built on it
import { HTTPFacilitatorClient } from "@x402/core/server";
const facilitator = new HTTPFacilitatorClient({ url: "https://x402.t0ll.xyz" });What settling here is
- Who pays the gas
- Toll's relayer. The seller and the buyer pay none.
- What a settlement costs you
- Nothing right now: every settlement is free.
- What is taken out of a payment
- Nothing. Your payTo receives the whole amount.
- Account or API key
- None.
- Schemes
- exact, x402 v1 and v2, in USDG on Robinhood Chain (eip155:4663).
- Receipt
- A signed receipt for every settled payment, with a public page.
- Payee check
- If your agent has an ERC-8004 identity, buyers see that your payTo is its registered wallet.
- Share card
- A picture of a settled payment you can post, made from the receipt.
If your price on Robinhood Chain is higher than on other chains because settling costs you, that cost is 0 here right now, so you can ask the same price on every chain.
What stays the same
- Your price and your payTo.
- Your 402 answer, as long as it offers USDG on Robinhood Chain like this:
PaymentRequirements (x402 v2)
{
"scheme": "exact",
"network": "eip155:4663",
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"amount": "10000",
"payTo": "0xYourWallet",
"maxTimeoutSeconds": 300,
"extra": {
"name": "Global Dollar",
"version": "1"
}
}Offers on other chains in the same 402 are not settled here: this facilitator settles Robinhood Chain only.
Check that it worked
- GET https://x402.t0ll.xyz/supported lists eip155:4663.
- Make one paid call to your own endpoint.
- The payment shows on Activity with its transaction and its receipt.
To be listed with the payee check, see Register. Every option is in the docs.