# Agent Transaction Trust — Public Transaction Preflight

> Agent Transaction Trust — Public Transaction Preflight is a paid API for AI agents from json-repair-api-9ybv.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Validates an x402 PAYMENT-REQUIRED challenge against an intended HTTP request and returns APPROVED, REVIEW, or DENIED with signed proof of merchant/payment risk assessment — no account required.

## Facts

- Endpoint: POST https://json-repair-api-9ybv.onrender.com/trust/x402/preflight?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-transaction-trust-public-transaction-preflight-589c33a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__TCadtoClltS9TlBFGd1E

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 agent-transaction-trust-public-transaction-preflight-589c33a2 -d '<json body>'
```

Example prompt: Before my agent pays this merchant, run a preflight check on their x402 PAYMENT-REQUIRED challenge against the POST request to https://api.somemerchant.com/data — I want to see if it comes back APPROVED, REVIEW, or DENIED before any funds move.

## When to prefer this

Use this endpoint when an AI agent has received an x402 PAYMENT-REQUIRED challenge and needs a lightweight, account-free risk verdict before deciding whether to proceed with a Base USDC payment. It is the right choice for a stateless preflight check that requires no pre-registration — ideal as an early gate in a multi-step autonomous payment pipeline where a separate authorization step will still control actual fund movement.

## Known failure modes

- Malformed or missing payment_required payload causes validation failure
- Mismatch between the provided request and the x402 challenge results in DENIED
- Unknown or unresolvable merchant hostname returns REVIEW with limited risk evidence
- Invalid JSON in payment_required encoded string causes parse error
- Missing required request.method or request.url fields returns 400-level error

## How this service works

Public, account-free preflight for an autonomous x402 payment. Validates the merchant's exact PAYMENT-REQUIRED challenge against the intended request, checks Base USDC payment integrity and public merchant/payTo risk evidence, and returns APPROVED, REVIEW or DENIED with signed proof. It does not grant spending authority: an APPROVED result means the transaction evidence is clear enough to proceed only if separate delegated authority also permits the spend.

## Output

Returns a trust decision of APPROVED, REVIEW, or DENIED along with signed proof of the assessment, merchant/payTo risk evidence, and Base USDC payment integrity findings. Does not grant spending authority — an APPROVED result only confirms the transaction evidence is clean; separate delegated authority must also permit the spend.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "required": [
    "method",
    "url"
   ],
   "properties": {
    "url": {
     "type": "string"
    },
    "body": {},
    "method": {
     "type": "string"
    }
   },
   "description": "Exact HTTP request the agent intends to make after the preflight."
  },
  "category": {
   "type": "string",
   "description": "Optional purchase category for audit context."
  },
  "merchant_id": {
   "type": "string",
   "description": "Optional stable merchant identifier. If omitted, the resource hostname is used."
  },
  "payment_required": {
   "oneOf": [
    {
     "type": "object"
    },
    {
     "type": "string"
    }
   ],
   "description": "The merchant's real x402 PAYMENT-REQUIRED payload, as decoded JSON or its encoded string."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-transaction-trust-public-transaction-preflight-589c33a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from json-repair-api-9ybv.onrender.com](https://www.zero.xyz/host/json-repair-api-9ybv.onrender.com/llms.txt)
