Another thing to be aware of – if an address sends funds to itself, either directly or via a change output, then for the 'balance' APIs the received funds are considered as available immediately, independent of the minconf parameter. This is because, if for some reason the transaction is never confirmed, the funds will still be available to that same address. However this does not apply to the (lower level) listunspent API which shows individual UTXOs.