Any railroad company may open and keep an interest account with their stockholders, from the dates of their payments on their subscription, respectively; and, in order to place all their stockholders on an equal footing, may allow interest from the dates of such payments, payable in stock, for such time and under such regulations as the board of directors may prescribe.