Okay, you should of course pay your rent first. Better to wokr out these debts with a rof over your head instead of being in debt with no roof.
You haven't explained how these went to legal, but we already know that payday lenders cannot throw you in jail. We fought a revolution over this, remember?
Bankruptcy may be something you could look at. An emergency filing would get these creditors off your back, although you would need about $500 to get the ball rolling (down payment to the attorney and your filing fees).