What is a pay-if-paid clause?
The short answer
A subcontract term that makes the owner's payment a condition of the subcontractor being paid at all. Its enforceability varies by state, and some states do not enforce it.
An example
A subcontract says that payment by the owner is a condition precedent to payment of the subcontractor. If the owner goes bankrupt, the GC may argue it owes the sub nothing, where the state enforces such clauses.
Why it matters to a general contractor
Pay-if-paid moves the risk of owner non-payment to subcontractors. Whether it is enforced depends heavily on state law and wording, so legal advice is needed before relying on it.