1. pay the piper - Verb
2. pay the piper - Phrase
(idiomatic) To pay expenses for something, and thus be in a position to be in control.
(idiomatic) To pay a monetary or other debt or experience unfavorable consequences, especially when the payment or consequences are inevitable or a result of something one has enjoyed.
Source: en.wiktionary.org