# x402 Agent Escrow

> x402 Agent Escrow is a paid API for AI agents from x402-agent-suite-production.up.railway.app, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-03).

Creates or manages an agent escrow arrangement, verifying that an HTTP GET/HEAD/DELETE action is allowed and returning an approval decision after x402 payment settlement.

## Facts

- Endpoint: POST https://x402-agent-suite-production.up.railway.app/api/agent-escrow?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-escrow-0fd9fc41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Aiw2sjgG9IuRpqOxp_YGK

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 x402-agent-escrow-0fd9fc41 -d '<json body>'
```

Example prompt: Check whether my agent is allowed to make a GET request through the x402 escrow system and give me the approval result after payment settles.

## When to prefer this

Use this endpoint when an AI agent needs to gate a read-only or destructive HTTP action (GET, HEAD, DELETE) behind an escrow and payment-authorization layer using the x402 protocol. It is most appropriate for agent fleet infrastructure scenarios where spending limits and action approval must be enforced before a request proceeds, rather than just checking limits passively.

## Known failure modes

- Payment not settled — returns 402 with payment-required details
- Invalid HTTP method supplied (only GET, HEAD, DELETE accepted) — validation error
- Missing required 'type' or 'method' fields — schema validation failure
- Escrow condition not met — allowed returns false with summary explanation
- Network or Railway deployment downtime — connection error

## How this service works

24 paid x402 infrastructure APIs for AI agent fleets: buy advisor, audition coach, guard, proxy, MPP, attestations, and pipeline orchestration.

## Output

Returns a JSON object with 'ok' (boolean indicating request success), 'allowed' (boolean indicating whether the action is permitted), and 'summary' (a plain-text explanation of the escrow decision after x402 payment settlement).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-escrow-0fd9fc41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-suite-production.up.railway.app](https://www.zero.xyz/host/x402-agent-suite-production.up.railway.app/llms.txt)
