Any public officer or employee who asks or receives any fee or consideration for any official service which has not been rendered, except charges for prospective costs or fees demandable in advance, if allowed by law, or who asks or receives any emolument, gratuity, reward, or other consideration excepting as authorized by law, for doing any official act, is guilty of a Class 1 misdemeanor.
SDCL 22-12A-8