UniversalEscrow
DocumentationAPI reference
Seller wallets

Create seller wallet verification

Creates a single-use link for one of your sellers to prove they control a payout wallet.

POST

https://testnet.universal-escrow.xyz/v1/seller-wallet-verifications

Send url to the seller: they open it, connect a wallet and sign a message (no gas, no access to funds). url is returned only here — the token in it is not stored, so a lost link means creating another. It expires at expiresAt (72 hours by default). sellerReference (1-128 characters, no control characters) is your own reference for the seller and is shown to them, so do not put personal data in it. returnUrl (optional; https for a live key, http or https for a test key) is your page the seller comes back to: when /embed/v1.js opens the link in a popup, the page tells that origin verified or cancelled — advisory only. Learn the result from the seller_wallet.verified webhook, or poll GET /v1/seller-wallet-verifications/{verificationId} until status is VERIFIED; then create escrows with sellerWalletId. Wallets are verified per environment: a test key cannot use a live verification. 503 service_unavailable when this deployment has no hosted pages.

Authorizations

Authorizationstringheaderrequired

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

How authentication works

Body

application/json
sellerReferencestringrequired

Your reference for the seller (e.g. their account id), 1-128 characters. It is shown to the seller on the verification page, so do not put personal data in it.

returnUrlstring

Your page the seller comes back to, absolute, at most 2048 characters, no username or password; https for a live key, http or https for a test key. When /embed/v1.js opens the link in a popup, the page tells this origin verified or cancelled; otherwise it is offered to the seller as a link. Not part of the signed message, and shown to whoever holds the link.

Response

201 · SellerWalletVerification · application/json

The link to send the seller, shown only in this response.

idstringrequired

Verification id.

sellerReferencestringrequired

The seller reference the link was requested for.

statusSellerWalletVerificationStatusrequired

One of PENDING, VERIFIED, EXPIRED.

urlstring

The link to send the seller. Returned only by the create call: the token in it is not stored and cannot be shown again.

returnUrlstring | nullrequired

The returnUrl the link was created with; null when none.

expiresAtstringrequired

When the link stops working (RFC 3339 UTC).

createdAtstringrequired

When the link was created (RFC 3339 UTC).

verifiedAtstring | nullrequired

When the seller signed; null until then.

sellerWalletSellerWallet | nullrequired

The verified wallet; null until the seller signs.