Each prisoner performing labor may be paid a reasonable compensation by the county, municipality, or civil township benefited thereby. The provisions of § 60-11-3 do not apply to prisoners. Such compensation or such portion thereof as the court or tribunal shall direct may be paid to the spouse, family, or dependents of such prisoner, or such other person as the court or tribunal may direct, and shall be in such amount as such court or tribunal shall determine upon application of the person or officer under whose superintendency the work shall be performed, and shall be allowed by the board of county commissioners or governing body of the municipality, or civil township, upon the order of such court or tribunal.
SDCL 24-11-32