In all criminal actions, upon conviction of the defendant, the court may adjudge that the defendant pay the whole or any part of the costs of that particular prosecution in addition to the liquidated costs provided by § 23-3-52. However, the costs shall not include items of governmental expense such as juror's fees, bailiff's fees, salaries and expenses of special agents, and reporter's per diem. Payment of costs may be enforced as a civil judgment against the defendant.
SDCL 23A-27-26