How do you actually retrieve the amount that can be withdrawn?

BTC is reflected in the balance after 1 confirmation, but in reality, it cannot be sold or withdrawn until after 2 confirmations. How do you actually retrieve the amount that can be withdrawn?

I believe this endpoint at Binance API Documentation could be what you’re looking for.