Do you have to pay maintenance to your ex wife?

Yes