Authority is hereby granted to municipalities to transfer surplus funds accumulated through special municipal revenue producing enterprises to private hospital corporations towards the cost of construction of any hospital to be constructed or now under construction or towards the retirement of any indebtedness incurred in the construction of a hospital in such municipality; provided such transfer of funds shall be made through a majority vote of the governing body of the municipality and accepted by a majority vote of the directors of such hospital corporation.
SDCL 34-9-9