1 verses of the Young's Literal Translation have both "if" and "pay".
Proverbs 22:27 If thou hast nothing to pay, Why doth he take thy bed from under thee?
In other translations: KJV WEB ASV Darby Webster DRC Geneva