In case the answer of the garnishee shall show indebtedness to the defendant, he may pay the amount thereof to the officer having a levy, or to the clerk of the court; and the officer to whom such payment is made shall give him a receipt specifying the facts and such receipt shall be a complete discharge of all liability to any party for the amount so paid.
SDCL 21-18-32