When a contractor or a subcontractor has performed in accordance with the provisions of his contract, the owner shall pay the contractor by mailing via first class mail or delivering the undisputed amount of any pay request within twenty-one days of receipt by the owner of any pay request based upon work completed or service provided under the contract, and the contractor shall pay to his subcontractor and each subcontractor shall pay to his subcontractor, within seven days of receipt by the contractor or subcontractor of each periodic or final payment, by mailing via first class mail or delivering the full amount received for that subcontractor's work and materials based on work completed or service provided under the subcontract.
S.C. Code § 29-6-30