# x402 Escrow Resolve

> x402 Escrow Resolve is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Resolves a conditional payment escrow by instructing either release to payee or refund to payer, returning a settlement instruction executable over x402.

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/escrow/resolve
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-escrow-resolve-a4019753
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aOiiTQ9FUJfHAh5N2nxn2

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-escrow-resolve-a4019753 -d '<json body>'
```

Example prompt: The job is done — please resolve escrow abc-123 using my creator token 'tok_xyz' and release the funds to the payee; add a note that says 'work completed and approved'.

## When to prefer this

Use this endpoint when you need to finalize a conditional payment escrow by deciding its outcome — either releasing funds to the payee or refunding the payer. This is the escrow settlement step after agreement conditions have been evaluated, requiring the creator's secret token and a binary outcome decision.

## Known failure modes

- Invalid or expired creator token returns authentication error
- Unknown escrow ID returns 404 not found
- Invalid outcome value (not 'release' or 'refund') returns validation error
- Escrow already resolved returns conflict error
- Network or service unavailability returns 500 error

## How this service works

Resolve a conditional-payment agreement: the creator marks 'release' (pay payee) or 'refund' (return to payer); returns a settlement instruction to execute over x402. Send { id, token, outcome, note? }.

## Output

A settlement instruction object to be executed over the x402 payment protocol, indicating whether the escrow funds will be released to the payee or refunded to the payer, along with status details about the resolution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "outcome",
  "token"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Escrow id"
  },
  "note": {
   "type": "string",
   "description": "Resolution note"
  },
  "token": {
   "type": "string",
   "description": "Creator secret"
  },
  "outcome": {
   "type": "string",
   "description": "release or refund"
  }
 }
}
```

## More

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