Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

It’s been ​lights out for former ​“​Real Housewives of New York​”​ star Jules Wainstein​,​ who blew through a five-figure child support payment in just two days — yet was unable to pay ​her home electric bill, her ​estranged husband said in divorce court Tuesday.

“Last week my client paid the defendant $12,000,” said Michael Wainstein‘s attorney Morghan Richardson.

“So she’s had $25,000 from the car sale and the $12,000 in [child support] arrears. Then two days later the electricity was cut from the marital residence. That’s where the c​​hildren are living,” she complained to Judge Michael Katz in Manhattan Supreme Court.

The TV personality spends freely on Amazon orders, food from Seamless, shoes from Zappos, and deliveries from the online app Postmasters, Richardson said.

But Jules’ lawyer, Allan Mayefsky, argued that Michael was responsible for covering the Con Edison bill.

“The electric gets turned off. Only when it gets turned off does he go there and work something out so his wife and kids weren’t sitting in the dark,” Mayefsky said.

The lights were turned back on after Michael worked out a payment plan.

He’s asking a judge to reduce his support payments from $10,000 to $2,500 a month.

The real estate investor claims his soon-to-be ex-wife’s extravagant lifestyle has left him broke.

“The amounts that he’s paid the defendant in just the last few months eclipse his annual income,” Richardson complained.

Mayefsky insists that Michael Wainstein is hiding money. “There’s a lot of machinations going on here,” he said. He added that his client made just $60,000 for her one season appearance on “The Real Housewives of New York” and her new venture — a detox drink, Modern Alkeme — hasn’t brought in any income even though it’s sold at Whole Foods.

The former couple also didn’t file taxes from 2008 through 2015.

Katz said he would issue a written decision in the coming days, but seemed to be siding with Michael Wainstein.

“The picture of him being someone rolling in money is not emerging,” the judge said.