SET API · Escrow
Open a milestone escrow
POST/v1/escrows
Buyer, seller and, for 2-of-3, an arbiter both parties name (each an address the party controls), milestones in USDC, the network, and the Travel Rule parties (buyer as originator, seller as beneficiary: a business name and ISO 3166-1 alpha-3 country, sealed by SET and never returned). Every address is screened against OFAC's list (403 restricted, nothing written) and the asset is checked against your asset policy (403 asset_not_allowed) and SET's GENIUS cutoff (400 asset_not_permitted). Answers the Safe's counterfactual address and acceptance: the typed data each party signs. SET is never an owner or a signer of the escrow's Safe, never deploys it with a key of its own and never broadcasts: the owners sign, any party sends. externalId: a retry with the same one answers the existing escrow (200). 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).
From the OpenAPI document This page is written from the wallet's OpenAPI document (release
2026-11-23): its summary, scope, account type and fields.
Headers
Idempotency-Keystring- Any unique string, so a retry runs once. See Idempotency.
Body
network"base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "avalanche"requiredbuyerobjectrequiredsellerobjectrequiredarbiterobjectmilestonesobject[]requiredtravelRuleobjectrequiredinvoicestring- inv_…
externalIdstringledgerSide"buyer" | "seller"- Which party your business is, for its journal entries and SET Close: buyer or seller. Defaults to seller when invoice is given (buyer is then refused, 400 ledger_side_invalid); left out otherwise, no journal entry is written.
Errors
503 escrow_disabled403 escrow_off400 body_invalid400 external_id_invalid400 network_invalid400 party_invalid400 milestones_invalid400 amount_invalid400 label_invalid400 invoice_invalid404 invoice_unknown400 ledger_side_invalid400 travel_rule_invalid400 asset_unknown503 travel_rule_key_missing409 external_id_in_use