President Donald Trump has dialled down expectations he is close to declaring a national emergency to secure the money he wants to build his long-promised US-Mexico border wall.

Meanwhile, some 800,000 federal employees, more than half of them still working, missed their first wage packet under a stoppage that tied a record for the longest government shutdown.

Lawmakers tried to reassure federal employees that Congress was aware of the financial hardship they are enduring.

By a vote of 411-7, the House passed a bill requiring that all government workers receive retroactive pay after the partial shutdown ends. The Senate approved the bill unanimously on Thursday. The president is expected to sign the legislation.

Mr Trump visited McAllen, Texas, and the Rio Grande on Thursday to highlight what he calls a crisis of drugs and crime along the border. He suggested that if he cannot reach an agreement with House Democrats on funding the border wall, he would declare a national emergency.

But speaking to state and local leaders on Friday, Mr Trump said he was not ready to do that just yet. He said lawmakers can also take that step, even though there is no indication they would.

The “easy solution is for me to call a national emergency … but I’m not going to do it so fast,” Mr Trump said.

Bypassing Congress’ constitutional control of the nation’s purse strings would lead to certain legal challenges and bipartisan charges of executive overreach. Mr Trump said his lawyers had told him the action would withstand legal scrutiny “100%”.

The wall was the central promise of Mr Trump’s winning campaign in 2016. Supporters have tried to convince him that an emergency declaration is the best option to end the shutdown and would give him political cover to reopen the government without appearing to be caving on his pledge.

But not everyone in the administration is on board.

Senior aide Jared Kushner, who travelled with the president to Texas, is among those said to be urging caution on the declaration.

Mr Trump is growing more frustrated as the shutdown drags on and is complaining that his aides are not offering him an exit strategy.

In the meantime, the administration has taken steps to lay the groundwork should Mr Trump issue the declaration.

The White House has directed the Army Corps of Engineers to comb through its budget in search of money for the wall, including looking at 13.9 billion US dollars in unspent disaster relief funds earmarked for areas including hurricane-damaged Puerto Rico, Texas and more than a dozen other states.

Representative Mark Meadows, who has a close relationship with the president, discounted that option, saying it was not “under very serious consideration”.

US Defence Department officials had already been poring over data on more than 10 billion dollars in military construction projects to determine how much of it would be available for emergency spending this year.

Donald Trump visit
People showed their backing for Mr Trump’s wall pledge during his visit to Texas (AP)

On Friday, officials in Puerto Rico said diverting disaster money to the wall was “unacceptable” and that the island was struggling to recover from Hurricane Maria, the Category 4 storm that hit more than a year ago and caused more than 100 billion dollars in damage

Governor Ricardo Rossello said the wall should not be funded “on the pain and suffering” of US citizens who have faced tragedy after a natural disaster.

It was not clear what a potential compromise between the White House and Congress might entail. Efforts at negotiating a broader immigration deal involving immigrants brought to the country illegally as children collapsed with little progress.

Republican senator Lindsey Graham said at one point that he did not “see a path in Congress” to end the shutdown, then stated later: “It is time for President Trump to use emergency powers to fund the construction of a border wall/barrier.”

Vice president Mike Pence visited the Washington headquarters for US Customs and Border Protection and pledged that the administration will keep fighting for the border wall.

“Just as you fight every day to keep our nation safe, this president and this administration will keep fighting to build the wall and give you the resources and reforms you need to do your job,” Mr Pence told several dozen unformed agents. “That’s my promise.”