(1) A surety shall file with the bond an affidavit stating the amount and source of any security or consideration which the surety or anyone for his or her use has received or been promised for the bond.
(2) A surety may maintain an action against the indemnitor only on agreements set forth in the affidavit. In an action by the indemnitor to recover security or collateral, the surety shall have the right to retain only the security or collateral stated in the affidavit.
(3) A limited surety or licensed bond agent may file a statement in lieu of the affidavit required in subsection (1). Such statement must be filed within 30 days from the execution of the undertaking.