# AgentResolver — x402 Payment Preflight & PayTo Verification

> AgentResolver — x402 Payment Preflight & PayTo Verification is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Verifies an x402 payment endpoint before committing funds, checking the payTo address, USDC quote, network, asset binding, TLS, and endpoint safety.

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/x402-payment-preflight
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-x402-payment-preflight-payto-verification-83d3a2d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tPUtnEo_A-70YiV_u7Y83

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentresolver-x402-payment-preflight-payto-verification-83d3a2d3 -d '<json body>'
```

Example prompt: Before I pay, can you run a preflight check on this x402 endpoint to confirm the payTo address is live, the USDC quote is correct, and it's safe to pay on Base?

## When to prefer this

Use this endpoint when an AI agent needs to safely verify an x402 payment target before committing USDC, especially when dealing with unknown or third-party x402 endpoints on Base or Solana. Prefer this over blindly paying any x402 402-response to avoid paying fraudulent, misconfigured, or unsafe payment endpoints.

## Known failure modes

- Endpoint URL is unreachable or returns non-x402 response
- payTo address is invalid or not live on the specified network
- TLS certificate is invalid or endpoint fails safety checks
- Network or asset mismatch (e.g. wrong chain or non-USDC asset)
- Resource binding does not match the declared endpoint
- Decision returned as 'ineligible' if checks fail
- HTTP 4xx/5xx if request body is malformed or missing required fields

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns a JSON object with a prepaymentDecision field containing a decision string (e.g. 'eligible') and an eligibleForCallerAuthorization boolean, plus details about the payTo address, USDC quote, network, asset, resource binding, and TLS/endpoint safety status.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prepaymentDecision": {
   "decision": "eligible",
   "eligibleForCallerAuthorization": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-x402-payment-preflight-payto-verification-83d3a2d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
