N.D.C.C. § 10-33-63
Purchase of memberships
If authorized in its articles or bylaws, a corporation may buy the membership of a member who resigns or whose membership is terminated for the amount and pursuant to the conditions in the articles or bylaws.