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 claimEscrowedCollateral() on the market’s custody adapter for the wallet the adapter holds an asset for. When a custody market cancels a listing or liquidates a loan, the adapter returns the asset to the seller. If the asset token refuses that transfer, for example because the seller’s verification lapsed, the cancellation or the liquidation still goes through and the adapter keeps the asset in escrow for the seller. Cancel Listing and Liquidate announce it in assetReturn before you sign. Once the token admits the seller again, the seller signs this claim and the adapter transfers the whole escrow to it. Read what is held with Get Claimable (collateralEscrow) or on the listing with Get Listing (collateralEscrow). Before building, the API reads the escrow of from on the adapter and simulates the transfer from the adapter to from. While the token still refuses it, the answer is 409 COLLATERAL_TRANSFER_RESTRICTED with the token’s reason, and the asset stays in escrow: have the token’s issuer admit the wallet first. The claim is not stopped by a pause of the market. The escrow is one balance per wallet on the adapter, across every listing of the market, and the claim pays it out in full to the signing wallet only. No other wallet can claim it, and it cannot be sent elsewhere.

Path Parameters

string
required
The market’s record ID, as id on List Markets. It must be a custody market.

Body Parameters

string
required
The wallet the adapter holds the asset for, normally the seller, which signs and receives it. Without it the answer is 400 FROM_REQUIRED.

Response Fields

object

Error Codes