What is the name of your state? TEXAS

I am wondering if there is a maximum legal fee that a bank or company can charge for a returned check.

The check I wrote for rent (on time) was returned, and I paid it with a money order (the day the check was returned, but after rent is due)

My bank charged me $30
My appartment complex charged me a $50 late fee and a $50 NSF fee.

I remember reading something about a maximum of $25 for a returned check, but I can't remember the conditions.

thanks