{
  "id": 15485052,
  "title": "The seven most common x402 seller mistakes, and how to fix them",
  "url": "https://urgent.news/2026/10/18/the-seven-most-common-x402-seller-mistakes-and-how-to-fix-them",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-18T20:29:55.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fizzl13/the-seven-most-common-x402-seller-mistakes-and-how-to-fix-them-2c8g"
  },
  "original_language": "en",
  "account": null,
  "summary": "The seven most common x402 seller mistakes detailed in this report revolve around issues with payment processing on the x402 API. These mistakes include resource mismatch (2,009 endpoints), listed URLs that don't answer 402 (1,042 endpoints), offering only a testnet (206 endpoints), and improper configuration of the payment middleware. The first issue, resource mismatch, occurs when the resource.url in the 402 response is different from the URL the agent called. This could be due to a relative path, another host, or an incorrect protocol (http:// instead of https://). To fix this, clients and indexes should check the resource and refuse the challenge if it doesn't match the called URL. The second issue involves listed URLs that don't answer 402, which can happen due to various reasons such as using the wrong HTTP method, API-key checks, or misconfigured payment middleware. To resolve this, the payment middleware should be registered before the handler and before any API-key check, and the method used by the route should be accurately listed. Lastly, 4% of payable endpoints only offer a testnet option, which is problematic for agents with real USDC on the mainnet. To address this, testnet and mainnet options should be offered side by side.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}