Skip to content

Networks ​

The x402 facilitator is live on Canton DevNet and MainNet. Build and test on DevNet, then move to MainNet: the integration stays the same, pointed at the MainNet facilitator with a MainNet API key and Canton parties.

DevNetMainNet
Facilitatorhttps://dev-api-x402.chainsafe.iohttps://api-x402.chainsafe.io
Dashboarddev-dashboard-x402.chainsafe.iodashboard-x402.chainsafe.io
Network idcanton:devnetcanton:mainnet
Payer presetdevnetConfigmainnetConfig
AssetCanton Coin (CC)Canton Coin (CC)

Each network is its own deployment, with its own dashboard, account and API keys: a key created on the DevNet dashboard is for the DevNet facilitator only.

What a facilitator settles ​

GET /v2/supported is the authority on what a facilitator accepts. It needs no API key:

bash
curl -sS https://dev-api-x402.chainsafe.io/v2/supported
json
{
  "kinds": [
    {
      "x402Version": 2,
      "scheme": "exact",
      "network": "canton:devnet",
      "extra": {
        "transferMethods": ["transfer-factory"],
        "synchronizerId": "global-domain::1220be58c29e…",
        "carriages": ["inline"],
        "instruments": [
          {
            "admin": "DSO::1220be58c29e…",
            "instrumentId": { "id": "Amulet", "admin": "DSO::1220be58c29e…" },
            "symbol": "CC"
          }
        ],
        "feePayer": "x402-facilitator::1220096316d4…"
      }
    }
  ],
  "extensions": [],
  "signers": { "canton:*": ["x402-facilitator::1220096316d4…"] }
}

The synchronizer, the party that relays payments (feePayer) and each instrument's admin are the facilitator's own facts, so you never configure them: the x402-express middleware reads them from here and caches them, and a payer takes the instrument admin from instruments[].instrumentId.admin. The values differ between networks, which is why the docs never hard-code them.

Moving to MainNet ​

The same integration, pointed at MainNet:

  • Merchant — sign in to the MainNet dashboard, link your MainNet payout party (it needs a live TransferPreapproval, as on DevNet), create a MainNet API key, and set FACILITATOR_URL to https://api-x402.chainsafe.io.
  • Payer — build the payer with mainnetConfig instead of devnetConfig, against your MainNet participant and its Amulet registry, from a MainNet party funded with Canton Coin.

Next

Accept payments or Pay for an API walks the integration itself.