UniversalEscrow
DocumentationAPI reference
Escrows

Prepare release transaction

Returns unsigned calldata to release a funded escrow to the seller, for the buyer's wallet to sign.

POST

https://testnet.universal-escrow.xyz/v1/escrows/{escrowId}/release-intent

Prerequisite: the escrow must be FUNDED. This call does not advance the escrow — it reaches RELEASED only once the chain confirms it. The response's expectedRecipients names the seller and the fee recipient and how much each receives, from the escrow's own snapshotted amounts. Partial amounts are not supported by the deployed contract (BL-02): the body takes no fields, and any field is refused with 422 — to pay in stages, create a milestone group (POST /v1/escrow-groups).

Authorizations

Authorizationstringheaderrequired

Bearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:write scope.

How authentication works

Path Parameters

escrowIdstringrequired

Response

201 · EscrowIntent · application/json

Unsigned release calldata and who it pays. The escrow did not move.

escrowIdstringrequired
transactionsTransactionRequest[]required

Transactions to sign, in order.

statusEscrowStatusrequired
expiresAtstring

When the embedded authorization expires. RFC 3339.

operationIdstring

The settlement operation recorded at REQUESTED; the escrow itself did not move.

expectedRecipientsobject

Who this settlement pays, keyed by role (seller, feeRecipient, buyer). Absent on funding intents.