Whenever any such account and notice is served upon the owner of the property or his duly authorized agent or representative, he shall furnish his contractor with a copy of the same, and if such contractor shall not within fifteen days after the receipt of such account and notice give the owner, his agent, or representative, written notice that he intends to dispute the claim, he shall be considered as assenting thereto and such owner may pay the same to the claimant when it becomes due and deduct the amount out of any moneys due such contractor, who may in like manner deduct such amount from any moneys due from him to his subcontractor or the claimant.
SDCL 44-9-11