Skip to main content
POST
Seller Financing is in beta and runs on Ethereum Sepolia instances only for now (DEVELOPMENT instances on Ethereum). A PRODUCTION instance, or one on another network, answers 503 SELLER_FINANCING_UNAVAILABLE. See Seller Financing.
Builds the payout of the signing wallet’s whole claimable balance, read with Get Claimable, in the payment token. An asset the custody adapter holds in escrow is not part of it: reclaim that with Claim Escrowed Collateral. The wallet that signs is the wallet paid for: only it can withdraw its balance, to to or to itself. A withdrawal stays open while the market is paused. When the payment token refuses to pay a wallet, for example one its issuer blacklisted, the owner of the balance can name another to. One wallet’s refusal never holds back another’s balance. The step pays out the balance at the moment it is mined, so amount in the answer can be lower than what arrives when more was credited in between.

Path Parameters

string
required
The market’s record ID, as id on List Markets.

Body Parameters

string
The wallet that receives the payout. It cannot be the market or its adapter. Omitted, "" or null, the payout goes to from.
string
required
The wallet whose balance is paid out, which signs. Without it the answer is 400 FROM_REQUIRED. A wallet with nothing to withdraw answers 409 TX_WOULD_REVERT with NothingToWithdraw.

Response Fields

object

Error Codes