# Escrow / Milestone Payments - Release

> Escrow / Milestone Payments - Release is a paid API for AI agents from escrow-api-production-014b.up.railway.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-20).

Releases a specific milestone payment from an agent-to-agent escrow contract, disbursing held funds to the recipient.

## Facts

- Endpoint: POST https://escrow-api-production-014b.up.railway.app/release?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/escrow-milestone-payments-release-e206b26c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EOYANgWegKTD5Tyd5eed1

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 escrow-milestone-payments-release-e206b26c -d '<json body>'
```

Example prompt: Release milestone 2 from escrow contract escrow-abc123 — the work has been completed and the funds should be disbursed now.

## When to prefer this

Use this endpoint when you need to programmatically release a specific milestone within an existing agent-to-agent escrow arrangement — particularly in automated pipelines where work completion triggers payment, or in multi-agent workflows where one agent must pay another upon deliverable acceptance. Prefer this over manual payment endpoints when the funds are already held in escrow and you simply need to unlock a specific phase.

## Known failure modes

- Invalid escrowId returns 404 or error indicating escrow not found
- milestoneIndex out of range returns error for non-existent milestone
- Milestone already released returns idempotency or conflict error
- Insufficient escrow balance results in release failure
- Unauthorized caller attempting to release returns 401/403
- Payment protocol (x402) failure may block the API call itself

## How this service works

Agent-to-agent escrow with milestone releases.

## Output

Returns a confirmation that the specified milestone within the escrow contract has been released, along with details such as the disbursed amount, recipient, and updated escrow status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "escrowId",
  "milestoneIndex"
 ],
 "properties": {
  "escrowId": {
   "type": "string"
  },
  "milestoneIndex": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/escrow-milestone-payments-release-e206b26c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from escrow-api-production-014b.up.railway.app](https://www.zero.xyz/host/escrow-api-production-014b.up.railway.app/llms.txt)
