Here's the guide on how you retrieve the balance on the connected account: https://docs.stripe.com/connect/account-balances#check-connected-account-balance
For example using Balance Retrieval API,
curl https://api.stripe.com/v1/balance \
-u "sk_123:" \
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"