A redemptioner must serve upon the purchaser from whom he seeks to redeem, or upon his successor in interest, and upon the sheriff or officer making the sale, or his successor, a written notice of redemption, and
and at the same time shall pay to the sheriff or other officer or the purchaser direct, or their respective successors or assigns, the amount prescribed by § 21-52-14. A duplicate of the notice of redemption with proof of the required service shall be forthwith filed for record with the register of deeds of the county in which the foreclosure or judicial sale is pending, which officer shall record the same.
SDCL 21-52-16