The defendant may, at any time before judgment, deliver to the sheriff or constable who attached his property a corporate surety bond or a bond executed by two sureties, to the effect that they shall, on demand, pay to the plaintiff the amount of the judgment, with all costs, that may be recovered against the defendant in the action, not exceeding the sum specified in the bond with interest. The bond shall be in the amount alleged by the plaintiff to be due. The sureties shall justify as provided in § 21-17A-7, and may be accepted if they are jointly responsible for the required sum.
SDCL 21-17A-17