President Trump begged the Mexican president to stop saying his government would not pay to build a border wall “because I cannot live with that,” according to a new report on Thursday.

“You cannot say that to the press,” Trump told President Enrique Pena Nieto, according to a transcript of a Jan. 27 call between the two leaders obtained by the Washington Post.

Trump told Nieto that the wall — a major campaign promise — was “the least important thing we are talking about, but politically this might be the most important.”

Trump threatened to cut off communication with the Mexican leader if he continued to say he wouldn’t pay for the wall.

“I​f you are going to say that Mexico is not going to pay for the wall, then I do not want to meet with you guys anymore because I cannot live with that​,” Trump said, according to the report.

He said the funding “will work out in the formula somehow,” adding “it will come out in the wash and that is OK.”

Trump, who rallied his supporters during campaign events by chanting that he would build a wall and Mexico would pay for it, apparently was aware that his threats against Mexico put him in a box politically.

“I have to have Mexico pay for the wall — I have to,” he told Nieto. “I have been talking about it for a two-year period.”

He suggested how the Mexican leader could address questions about the wall.

“We should both say, ‘We will work it out.’ It will work out in the formula somehow,” Trump said. “As opposed to you saying, ‘We will not pay,’ and me saying, ‘We will not pay.’”

But Nieto balked, saying Trump’s threats have put a lot of pressure on him and concluded that “my position has been and will continue to be very firm, saying that Mexico cannot pay for the wall.”

Trump countered: “But you cannot say that to the press. The press is going to go with that, and I cannot live with that.”

The newspaper also got transcripts of a phone call he had with Australian Prime Minister Malcolm Turnbull, with whom Trump had a strained relationship over immigration and polices for taking in refugees.

“This is going to kill me,” he told Turnbull. “I am the world’s greatest person that does not want to let people into the country. And now I am agreeing to take 2,000 people.”

The White House did not comment, but an official told the Washington Post that “The president is a tough negotiator who is always looking to make the best possible deals for the American people.”

The House last week approved a spending bill that contains $1.6 billion for the border wall.

And Trump, as recently as last month’s G-20 summit meeting reiterated his call for making Mexico pay for it.

During the call with Nieto, Trump also put his salesman’s hat on and touted his real estate background.

He told Nieto that he knew “how to build very inexpensively . . . and it will be a better wall and it will look nice.”

The two also clashed over the flow of illegal drugs into the United States, with Trump calling drug cartel leaders “pretty tough hombres” and suggested providing help by the US military because “maybe your military is afraid of them, but our military is not.”

“We have a massive drug problem where kids are becoming addicted to drugs because the drugs are being sold for less money than candy,” Trump said. “I won New Hampshire because New Hampshire is a drug-infested den.”

But Nieto said he understood that drug trafficking in Mexico is “largely supported by the illegal amounts of money and weapons coming from the United States.”