A top Mexican official on Tuesday said that Mexico may consider charging a fee for Americans entering the country in what could be seen as a retaliation to President Trump's call for a border wall.

Foreign Secretary Luis Videgaray, in a meeting with Mexico's top legislators, called Trump's plan an "unfriendly, hostile" act, and called on his colleagues to consider the entry fee.

"We could explore — not necessarily a visa, that could impede a lot of people from coming to Mexico — but we could perhaps (have) a fee associated with entry,” Videgaray said. “This is something that I'm sure will be part of our discussion, and I believe we can find points of agreement."

Videgaray went on to say that Mexico would not pay a cent toward the wall. He said if talks between the U.S. and Mexico fail to satisfy both countries, the Mexican government would consider reducing security cooperation.

"If the negotiation on other themes — immigration, the border, trade — isn't satisfactory to Mexico's interests, we will have to review our existing cooperation," Videgaray said. "This would be especially in the security areas ... and that involves the national immigration agency, the federal police and of course, the armed forces."

Trump has asked Congress to include a down payment on the wall in the spending bill but because of scrutiny from both sides, President Trump announced Monday that he’d be willing to wait until September to revisit the issue of funding; however, his stance on Mexico’s role in paying for the wall hasn’t changed.

The Associated Press contributed to this report.