---
title: "Lock money in escrow for a named seller"
method: POST
path: "/api/wallet/escrow"
tags: ["deals"]
---

# Lock money in escrow for a named seller

`POST /api/wallet/escrow`

## Request

- Base URL: `https://api.zettoai.com`
- URL: `https://api.zettoai.com/api/wallet/escrow`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Bounded by your wallet's per-transaction and monthly spending limits and the identity gate; 403 with `limit: "wallet_spending_limit"` when over. Amounts in dollars.

## Request body

- object
  - `seller_user_id` string, required
  - `deal_id` string, required
  - `total_amount` number, required: Dollars.
  - `milestones` object[]
    - `name` string
    - `amount` number
  - `agent_id` string

## Response `200`

Escrow created

- object

## Other responses

- `400`: Invalid or insufficient balance
- `403`: Over a spending limit or gated

---

[API](https://skmtc.dev/zettoai/apis/zetto-network-api.md) · [All operations](https://skmtc.dev/zettoai/apis/zetto-network-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zettoai/apis/zetto-network-api/revisions/a81077177fc2?raw)
