Prepare funding transaction
No credential required.
https://testnet.universal-escrow.xyz/v1/checkout/{escrowId}/funding-intent
Returns one or two unsigned transactions — [approve, createAndFund], or [createAndFund] alone when the buyer's allowance already covers the amount — for the buyer's own wallet to sign. Preparation changes no state on the escrow's status. Body: buyerWallet (optional address) is the wallet the buyer will pay from. Required when the escrow was created without a buyer ("pay from any wallet"): it is bound as the buyer, and may be replaced by a later call until funding is submitted. When the merchant fixed the buyer at creation it must match (409 buyer_wallet_mismatch otherwise). Once a funding transaction has been submitted the buyer cannot change (409 funding_submitted).
Authorizations
NoneThis endpoint takes no credential: the hosted checkout calls it from the buyer's browser, and the escrow id is what grants access.
Path Parameters
escrowIdstringrequiredHeaders
x-request-idstringrequiredidempotency-keystringrequiredOptional, 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-KeystringOptional, 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.
Body
application/jsonbuyerWalletstringThe wallet that will fund the escrow. Required while the escrow has no buyer; for a bound escrow it must match the bound buyer unless the buyer was only provisionally bound at checkout and nothing has been submitted yet.