Live x402 endpoint preflight
x402_preflightBefore paying an x402 service: safely makes one unauthenticated HTTPS request, confirms the endpoint is live and returns a current 402 challenge, then checks its price, USDC token, payee and site. Never signs or settles a payment. HTTPS only; redirects and private/local targets are refused. Price: $0.01 USDC per call after 25 free calls per day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public HTTPS x402 endpoint to preflight. | |
| _payment | No | x402 v2 payment: base64 PaymentPayload, as you would send in the PAYMENT-SIGNATURE header. Only needed after the free allowance is used. | |
| maxPrice | No | Optional. Your maximum acceptable US-dollar price, e.g. "0.05". | |
| knownPayees | No | Optional. Payee addresses you have paid before (max 200). GET: comma-separated. |