Will agents' payments go through?
check_payment_setupRead-only
Call this after building or changing a paid (x402) endpoint, or when agents' payments fail: we call it unpaid like a paying agent, read the 402, and check the payment request parses (v1 or v2), the token's EIP-712 domain (extra.name/version) matches the contract on-chain (the usual cause of 'invalid signature' payments), network id, amount, payTo, timeout, CORS headers for browser agents, resource URL, description and Bazaar discovery. Pass / warn / fail per check with exact fixes. Never pays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The paid endpoint's public https:// URL (an x402 resource). | |
| body | No | Optional example JSON body for POST endpoints. | |
| method | No | HTTP method the endpoint expects (default GET). |