I'm a contractor and finished the work . The customer is refusing to pay for the work that was done.
Please see the information listed here:
https://www.levelset.com/mechanics-lien/pennsylvania-lien-law-faqs/
If you had an agreement with the property owner, and you performed work within the last 6 months, you should be able to lien the improved property.