UniversalEscrow
DocumentationAPI reference

API reference

A REST API over HTTPS with JSON bodies, standard HTTP methods and status codes. These pages are generated from the service's own API description, so they list what the API actually exposes rather than what someone remembered to write down. Prefer OpenAPI? Browse it in Swagger or take the raw OpenAPI document for Postman or a client generator.

Base URL

Base URL   $ESCROW_API_BASE      # the API host + /v1, issued with your key
Format     JSON over HTTPS
Auth       Authorization: Bearer esc_test_<prefix>_<secret>

Access is pre-release: the base URL for your environment is issued with your API key, and samples on these pages call it $ESCROW_API_BASE. Endpoint paths are shown in full, starting at /v1.

Initial setup

  1. Create an account and verify your email address.
  2. Create a test API key on the dashboard's API keys page. The secret is shown once — keep it on your server (authentication).
  3. Register a webhook endpoint and send it a test event, so you can receive and verify signed deliveries (webhooks).
  4. Optionally, ask your sellers to verify their payout wallets so escrows pay to an address they proved they control.
  5. Make your first call — the quickstart goes from key to funded escrow in four steps.

Guides

Conventions

Rule
MoneyAtomic-unit decimal strings, never numbers. USDC has 6 decimals: "1000000" is 1 USDC.
TimestampsRFC 3339 in UTC, e.g. 2026-09-10T00:00:00.000Z.
IDsOpaque strings with a type prefix: esc_, egrp_, swal_, evt_. Store them as given.
IdempotencyWrites accept an Idempotency-Key header (8–255 characters). Same key and body replays the original response.
Request idsEvery response carries X-Request-Id. Send your own to find a request in the dashboard log.
PaginationLists are cursor-based: limit (1–100) and cursor from the previous page's nextCursor.
Rate limitsA token bucket per credential, reported in X-RateLimit-* headers; 429 carries Retry-After.
EnvironmentsA key is test or live and only ever sees its own environment's objects.

Endpoint groups

Every merchant-facing endpoint, by area. Each group has its own page with every parameter and field.

GroupWhat it is forCredentialEndpoints
EscrowsCreate an escrow, read its state and history, and prepare release, refund or cancellation.API key11
Milestone groupsCreate 2–20 escrows for a job paid in stages in one atomic request, and read them back as one unit.API key2
Seller walletsAsk a seller to prove they control their payout wallet, then pay to the verified wallet by id.API key4
TransactionsRegister a transaction hash and follow it to confirmation.API key2
DisputesOpen a dispute against a funded escrow and submit evidence.API key3
WebhooksRegister endpoints, manage signing secrets, and inspect or replay deliveries.API key10
CheckoutThe buyer-facing surface behind a checkout link. Takes no credential at all — a buyer has no account.None11

API keys, team members and dashboard settings are managed signed in to the dashboard, not with an API key, so they are not part of this reference.

Next