{
  "x402Version": 2,
  "id": 4685,
  "slug": "4685",
  "resource": "https://x402-store.dgdb.workers.dev/v1/listing-doctor",
  "description": "Why is my x402 service not listed — or listed but never paid? Send your endpoint URL; we fetch your 402 envelope, run the exact SDK validation the CDP facilitator runs, check catalog presence, and return per-check pass/fail with concrete fix hints. Includes two undocumented traps we verified against the live facilitator: a buyer must echo your bazaar extension into the settle payload, and a description over 500 characters makes the facilitator reject every payment. Deterministic, no LLM.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD617a7145ca56E3ed58d639F9DEC6999B22441eE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "method": "POST",
            "resource_url": "https://your-shop.example.com/v1/your-endpoint"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "checks": [
              {
                "id": "returns_402",
                "message": "402 Payment Required",
                "status": "pass"
              },
              {
                "id": "bazaar_extension_present",
                "message": "extensions.bazaar present",
                "status": "pass"
              },
              {
                "id": "facilitator_extraction",
                "message": "extractDiscoveryInfo OK (same function CDP runs)",
                "status": "pass"
              },
              {
                "id": "listed_in_catalog",
                "message": "not in catalog snapshot 20260612 (25403 items)",
                "status": "warn"
              }
            ],
            "how_to_get_listed": [
              "1. ...",
              "2. KEY: buyer must echo the bazaar extension into the settle payload ...",
              "3. ..."
            ],
            "overall": "listable_pending_settle",
            "url": "https://your-shop.example.com/v1/your-endpoint"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "Diagnose why an x402 resource is (not) listed in the CDP Bazaar. Fetches your 402 envelope, runs the same SDK validation/extraction CDP runs, checks catalog presence, and returns per-check fix hints including the undocumented buyer-side settle requirement.",
                "properties": {
                  "method": {
                    "description": "HTTP method of your endpoint (default POST)",
                    "enum": [
                      "POST",
                      "GET",
                      "PUT",
                      "PATCH"
                    ],
                    "type": "string"
                  },
                  "resource_url": {
                    "description": "public https URL of your x402-gated endpoint",
                    "type": "string"
                  }
                },
                "required": [
                  "resource_url"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-store.dgdb.workers.dev",
  "lastUpdated": "2026-09-10T01:51:45.059Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-10T01:51:44.771Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-store.dgdb.workers.dev",
    "manifest_name": "x402-store.dgdb.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}