{
  "x402Version": 2,
  "id": 35766,
  "slug": "35766",
  "resource": "https://modelmarket.dev/x402/x402-check",
  "description": "Debug an x402 payment before you submit it — why does USDC answer invalid signature? Verifies the EIP-3009 transferWithAuthorization (EIP-712 signer, v, low s, validity window) and the seller's terms (payTo, amount, asset, network, bound nonce), and names the domain a failing signature was really made for, e.g. Base Sepolia's 'USDC' used for Base mainnet's 'USD Coin', the commonest reason an x402 payment reverts. Offline, deterministic, signed answer.",
  "type": "http",
  "serviceName": "AIMarket",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968063/bazaar-icons/cf794c953fd3ac2c.png",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "authorization": {
              "from": "0x9993C13EBBC4B98441E38585eA47fe17625f04f3",
              "nonce": "0x52293a780cf1f48ea8a555187c01b15124c41cfef04114b44f3e5463ce8b30eb",
              "to": "0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a",
              "validAfter": "0",
              "validBefore": "1893456000",
              "value": "3000"
            },
            "network": "base",
            "signature": "0xe0949d03ce604032721cf706d05897c9b5b34dbc0d3f4a76848724c1e20473330238f0dde1ea3cccffce4c1d1f5a6dfbfb0012ec42a9fd2165bc9723b14b56381b"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capability_id": "x402.authorization.check@v1",
            "receipt": {},
            "result": {},
            "service": "x402-check",
            "status": "ok"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "authorization": {
                    "description": "from, to, value, validAfter, validBefore, nonce",
                    "type": "object"
                  },
                  "network": {
                    "description": "base, base-sepolia, … or eip155:<chain id>",
                    "type": "string"
                  },
                  "now": {
                    "description": "unix seconds, to check the validity window",
                    "type": "integer"
                  },
                  "requirements": {
                    "description": "the 402's accepts entry (payTo, amount, asset, network)",
                    "type": "object"
                  },
                  "signature": {
                    "description": "65-byte hex signature",
                    "type": "string"
                  },
                  "x_payment": {
                    "description": "the X-PAYMENT header (base64) — or authorization + signature + network",
                    "type": "string"
                  }
                },
                "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"
      }
    },
    "builder-code": {
      "info": {
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "x402",
    "usdc",
    "eip-3009",
    "transferwithauthorization",
    "eip-712",
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "modelmarket.dev",
  "lastUpdated": "2026-10-05T16:44:55.095Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-05T16:44:54.579Z"
  },
  "metadata": {
    "serviceName": "AIMarket",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968063/bazaar-icons/cf794c953fd3ac2c.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "authorization": {
                "from": "0x9993C13EBBC4B98441E38585eA47fe17625f04f3",
                "nonce": "0x52293a780cf1f48ea8a555187c01b15124c41cfef04114b44f3e5463ce8b30eb",
                "to": "0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a",
                "validAfter": "0",
                "validBefore": "1893456000",
                "value": "3000"
              },
              "network": "base",
              "signature": "0xe0949d03ce604032721cf706d05897c9b5b34dbc0d3f4a76848724c1e20473330238f0dde1ea3cccffce4c1d1f5a6dfbfb0012ec42a9fd2165bc9723b14b56381b"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "capability_id": "x402.authorization.check@v1",
              "receipt": {},
              "result": {},
              "service": "x402-check",
              "status": "ok"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "authorization": {
                      "description": "from, to, value, validAfter, validBefore, nonce",
                      "type": "object"
                    },
                    "network": {
                      "description": "base, base-sepolia, … or eip155:<chain id>",
                      "type": "string"
                    },
                    "now": {
                      "description": "unix seconds, to check the validity window",
                      "type": "integer"
                    },
                    "requirements": {
                      "description": "the 402's accepts entry (payTo, amount, asset, network)",
                      "type": "object"
                    },
                    "signature": {
                      "description": "65-byte hex signature",
                      "type": "string"
                    },
                    "x_payment": {
                      "description": "the X-PAYMENT header (base64) — or authorization + signature + network",
                      "type": "string"
                    }
                  },
                  "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"
        }
      },
      "builder-code": {
        "info": {
          "s": [
            "cdp_sdk_server"
          ]
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "eip2612GasSponsoring": {},
      "erc20ApprovalGasSponsoring": {}
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "modelmarket.dev",
    "manifest_name": "modelmarket.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}