Create seller wallet verification
Creates a single-use link for one of your sellers to prove they control a payout wallet.
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
AuthorizationstringheaderrequiredBearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:write scope.
Body
application/jsonsellerReferencestringrequiredYour 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.
returnUrlstringYour 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/jsonThe link to send the seller, shown only in this response.
idstringrequiredVerification id.
sellerReferencestringrequiredThe seller reference the link was requested for.
statusSellerWalletVerificationStatusrequiredOne of PENDING, VERIFIED, EXPIRED.
urlstringThe link to send the seller. Returned only by the create call: the token in it is not stored and cannot be shown again.
returnUrlstring | nullrequiredThe returnUrl the link was created with; null when none.
expiresAtstringrequiredWhen the link stops working (RFC 3339 UTC).
createdAtstringrequiredWhen the link was created (RFC 3339 UTC).
verifiedAtstring | nullrequiredWhen the seller signed; null until then.
sellerWalletSellerWallet | nullrequiredThe verified wallet; null until the seller signs.