Is my x402 endpoint correct?
check_x402_endpointRead-onlyIdempotent
x402 endpoint doctor: probes a paid x402 URL unpaid (never pays) and grades it A-F: 402 on GET / HEAD / empty POST, CORS, v2 PAYMENT-REQUIRED header and v1 body, accepts (USDC asset, EIP-712 domain, Solana feePayer, amounts, payTo), multichain consistency and the Bazaar declaration. Free preview tier: grade, score, status and counts. The paid x402 endpoints /v1/lite ($0.005), /v1/check ($0.02, adds the CDP validate verdict, payee checks and generated fixes) and /v1/site ($0.05, whole origin) return the fix list.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full https URL of the paid x402 route (site tier: the origin or API base URL) | |
| method | No | Method your paid route uses (default: from its Bazaar declaration, else GET) |