# AgentPay Release — Escrow Payment Release via x402

> AgentPay Release — Escrow Payment Release via x402 is a paid API for AI agents from x402-agent-pay.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Releases a previously escrowed USDC payment by submitting an escrow ID and a valid x402 payment header, finalizing an atomic machine-to-machine transaction.

## Facts

- Endpoint: POST https://x402-agent-pay.com/release
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-release-escrow-payment-release-via-x402-1cf6bea4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sJdQ98Xb_ZcimtYNF7eIM

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 agentpay-release-escrow-payment-release-via-x402-1cf6bea4 -d '<json body>'
```

Example prompt: Release my escrowed AgentPay payment using escrow ID 'esc_abc123' and the x402 payment header I received after the service was delivered.

## When to prefer this

Use this endpoint when you have an existing x402 escrow ID and a valid payment header and need to atomically finalize and release the held USDC payment — specifically for autonomous AI agent workflows, IoT device payments, or machine-to-machine commerce where no human approval step is needed.

## Known failure modes

- Invalid or expired escrow_id returns a 4xx error with escrow not found message
- Malformed or unauthorized payment_header causes rejection with authentication failure
- Escrow already released returns an error indicating duplicate release attempt
- Insufficient USDC balance or payment failure returns a transaction declined error
- Network or blockchain confirmation delay may cause timeout on settlement

## How this service works

AgentPay is the x402 payment layer for autonomous AI agents, IoT devices, and businesses. Send and receive USDC payments atomically — no human required. Patent pending.

## Output

A confirmation that the escrowed USDC payment has been released and settled, including transaction status and any relevant settlement details for the completed machine-to-machine payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "escrow_id",
  "payment_header"
 ],
 "properties": {
  "escrow_id": {
   "type": "string"
  },
  "payment_header": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-release-escrow-payment-release-via-x402-1cf6bea4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-pay.com](https://www.zero.xyz/host/x402-agent-pay.com/llms.txt)
