Add get_pending_amount to known what amount is really available for a user