Any such assurance shall be in writing and be subject to the approval of the circuit court for the county in which the alleged violator resides or has his principal place of business or the circuit court for Hughes County, South Dakota. Such assurance may include a stipulation for the voluntary payment by the alleged violator of the costs of investigation and any action or proceeding by the attorney general, and any amount or amounts necessary to restore to any person any moneys or property which may have been acquired by such alleged violator by means of any such act or practice.
SDCL 37-24-20