Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Escrow

Cancel an unfunded escrow

POST/v1/escrows/{escrow}/cancel

Key scope: write

Only while nothing is paid in (409 escrow_funded). On a live key the Safe's balance is read first; if it cannot be read, nothing is cancelled (503 chain_unreadable). 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.

Path parameters

escrow stringrequired

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Errors

  • 503 escrow_disabled
  • 403 escrow_off
  • 404 escrow_unknown
  • 409 escrow_funded
  • 503 chain_unreadable

All codes: Errors.