Skip to content
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:

ModeWhat happens on confirmation
holdNet amount (received − 0.5%) is credited to your available balance. Use it for conversions and payouts.
forwardNet 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/balances
Shell
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"
    }
  ]
}
FieldMeaning
availableSpendable: convert or pay out.
pendingReserved for payouts that are awaiting approval or in flight (amount + fee).
forwardedCumulative 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.