White House spokeswoman Sarah Huckabee Sanders — who said in March that President Trump didn’t pay hush money to Stormy Daniels — said Thursday that she only found out that he in fact had the night before.

“The first awareness I had was during an interview last night,” she told reporters at a press briefing, referring to Rudy Giuliani’s bombshell revelation on Sean Hannity’s TV show that Trump had indeed repaid his lawyer Michael Cohen for the $130,000 he paid the porn vixen to clam up about her alleged fling with Trump in 2006.

She also defended Trump, who answered “No,” last month when asked if he knew anything about the hush money.

“As mayor Giuliani stated and I’ll refer you back to his comment, this was information that the president didn’t know at the time but eventually learned,” she said.

Trump reportedly began paying Cohen $35,000 monthly retainers in February to reimburse him for the payment — but Giuliani added to the confusion over the timeline when he said Thursday the president only learned of the payment to Daniels in the past 10 or 15 days.

Sanders was grilled about the contradictions coming from the West Wing, with reporters asking her repeatedly about numerous statements from her and from the commander-in-chief that later turn out to be false.

The spokeswoman also said she wasn’t sure if Giuliani, a recent addition to Trump’s legal team, had given Trump a heads-up about what he was going to say on Hannity’s show, but that she didn’t think his comments were damaging.

Asked if she was blindsided by Giuliani’s comments, Sanders said she was not part of the legal team and had tried to give reporters the “best information” she had.

On March 7, Sanders told reporters that “there was no knowledge of any payments from the president, and he has denied all these allegations.”