Treasury
Balances
Balances come from a double-entry ledger: every credit, fee, conversion and payout is a balanced journal, and balances are derived from it.
Settlement modes
Choose settlement per asset in Settings → Coins & settlement:
| Mode | What happens on confirmation |
|---|---|
hold | Net amount (received − 0.5%) is credited to your available balance. Use it for conversions and payouts. |
forward | Net amount is swept on-chain to your configured wallet. For native coins the sweep's network fee is deducted; for tokens we top up gas. Tracked as forwarded. |
Retrieve balances
GET
/v1/balancesShell
curl https://lipacoin.io/api/v1/balances -H "Authorization: Bearer $LIPACOIN_SECRET_KEY"Response
{
"object": "list",
"data": [
{
"asset": "BTC",
"available": "0.0412",
"pending": "0",
"forwarded": "0"
},
{
"asset": "USDT_TRC20",
"available": "1840.25",
"pending": "150.9",
"forwarded": "0"
},
{
"asset": "USDC_SOL",
"available": "0",
"pending": "0",
"forwarded": "9850.5"
}
]
}| Field | Meaning |
|---|---|
available | Spendable: convert or pay out. |
pending | Reserved for payouts that are awaiting approval or in flight (amount + fee). |
forwarded | Cumulative net amount settled to your own wallet via auto-forward. |
Balances are per mode. Test balances are test coins and can't be moved to live. Next: payouts.