Payouts
Get Claimable
What a wallet can withdraw from the market now
GET
/
seller-financing
/
api
/
markets
/
{marketId}
/
claimable
/
{address}
curl "https://api.trusset.org/seller-financing/api/markets/cmsg4x7k20003sf9q1d8v6b2e/claimable/0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
`https://api.trusset.org/seller-financing/api/markets/${marketId}/claimable/${wallet}`,
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
if (data.claimable !== '0') console.log(`${data.claimableFormatted} ready to withdraw`);
{
"success": true,
"data": {
"account": "0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8",
"claimable": "1829860846",
"claimableFormatted": "1829.860846"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
{
"success": true,
"data": {
"account": "0x3E22FdfA28e880239541d9c5B66B3b161F9ED77b",
"claimable": "136111324",
"claimableFormatted": "136.111324",
"collateralEscrow": "100",
"collateralEscrowFormatted": "100"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
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.- Seller. Its share of every interest payment, when the payment arrives. The full price, when the loan is repaid in full. The compensation and the interest owed, less Trusset’s share, when it liquidates.
- Buyer. Its refund, when the seller liquidates.
collateralEscrow: the asset the custody adapter holds in escrow for the wallet, because the token refused to return it on a cancellation or a liquidation. It is reclaimed with Claim Escrowed Collateral, not with Withdraw.
Path Parameters
string
required
The market’s record ID, as
id on List Markets.string
required
The wallet to read.
Response Fields
object
Show child attributes
Show child attributes
string
The wallet, checksummed.
string
What it can withdraw now, in the payment token’s smallest unit.
string
The same in whole units.
string
Custody markets only. The asset the custody adapter holds in escrow for the wallet, in the asset token’s smallest unit.
"0" when there is none, null when the adapter could not be read. Absent on a freeze market.string
The same in whole units of the asset.
null when unread or when the asset’s decimals could not be read.curl "https://api.trusset.org/seller-financing/api/markets/cmsg4x7k20003sf9q1d8v6b2e/claimable/0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
`https://api.trusset.org/seller-financing/api/markets/${marketId}/claimable/${wallet}`,
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
if (data.claimable !== '0') console.log(`${data.claimableFormatted} ready to withdraw`);
{
"success": true,
"data": {
"account": "0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8",
"claimable": "1829860846",
"claimableFormatted": "1829.860846"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
{
"success": true,
"data": {
"account": "0x3E22FdfA28e880239541d9c5B66B3b161F9ED77b",
"claimable": "136111324",
"claimableFormatted": "136.111324",
"collateralEscrow": "100",
"collateralEscrowFormatted": "100"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
Error Codes
| Code | HTTP | Cause |
|---|---|---|
VALIDATION_ERROR | 400 | address is malformed, the zero address, or fails its EIP-55 checksum |
MARKET_NOT_FOUND | 404 | No market with this ID that your instance reaches on its network |
CHAIN_UNAVAILABLE | 503 | The market could not be read. Retry shortly |
SELLER_FINANCING_UNAVAILABLE | 503 | The instance is a PRODUCTION instance or not on Ethereum |
CLAIMABLE_READ_FAILED | 500 | Unexpected failure. Retry, or contact support with the request ID |
⌘I
curl "https://api.trusset.org/seller-financing/api/markets/cmsg4x7k20003sf9q1d8v6b2e/claimable/0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
`https://api.trusset.org/seller-financing/api/markets/${marketId}/claimable/${wallet}`,
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
if (data.claimable !== '0') console.log(`${data.claimableFormatted} ready to withdraw`);
{
"success": true,
"data": {
"account": "0x09BD3f5c18488e492a7bC3C7CCfc6cc837f511e8",
"claimable": "1829860846",
"claimableFormatted": "1829.860846"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
{
"success": true,
"data": {
"account": "0x3E22FdfA28e880239541d9c5B66B3b161F9ED77b",
"claimable": "136111324",
"claimableFormatted": "136.111324",
"collateralEscrow": "100",
"collateralEscrowFormatted": "100"
},
"error": null,
"metadata": {
"timestamp": "2026-10-29T09:05:00.000Z",
"requestId": "3f7c2a91-6d84-4b0e-9a15-c2e8f4d7b603",
"instanceId": "inst_abc123"
}
}
