If any person, who has been accused of a violation of § 22-30A-24 or 22-30A-25, restores or returns the property allegedly obtained as consideration or makes payment of the check and the costs and expenses provided for in § 57A-3-421 to the holder within thirty days of the mailing or delivery of the notice of dishonor, no criminal prosecution may occur in regard to the check.
SDCL 22-30A-26