UniversalEscrow
DocumentationAPI reference
Checkout

Prepare the refund transaction for the seller

No credential required.

POST

https://testnet.universal-escrow.xyz/v1/checkout/{escrowId}/seller-refund-intent

Returns unsigned calldata for the seller's own wallet to refund a funded escrow back to the buyer. The contract (ADR-014) permits this from the seller at any time — no expiry required. Prerequisite: the escrow must be FUNDED; refused otherwise, naming the current and required state. Refunds charge no platform fee, so expectedRecipients names only the buyer.

Authorizations

None

This endpoint takes no credential: the hosted checkout calls it from the buyer's browser, and the escrow id is what grants access.

Path Parameters

escrowIdstringrequired

Headers

x-request-idstringrequired
idempotency-keystringrequired

Optional, 8–255 characters. The same key with the same body replays the original response instead of acting twice; with a different body it is a conflict.

Idempotency-Keystring

Optional, 8–255 characters. The same key with the same body replays the original response instead of acting twice; with a different body it is a conflict.

Response

201 · application/json