When a subcontractor has performed in accordance with the provisions of his contract, 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, the full amount received for such subcontractor's work and materials based on work completed or service provided under the subcontract.
N.C. Gen. Stat. § 22C-3