America’s ambassador to the United Nations has lashed out at the body for disrespecting the US in criticising its policy toward Israel and warned of repercussions.

Noting that America is the “single largest contributor“ to the United Nations, Nikki Haley argued that the country was being “asked to pay for the privilege of being disrespected”.

“We have an obligation to demand more for our investment,” Ms Haley told the body’s General Assembly, “and if our investment fails, we have an obligation to spend our investment in more productive ways”.

Her comments came as the international body moved to censure America for its recent decision to recognise Jerusalem as the capital of Israel and transplant the US embassy there, a move that has drawn condemnations from Palestinians and warnings that the Trump administration was undermining its credibility in the peace process. The host of sites sacred to Christianity, Judaism and Islam, Jerusalem’s status has been disputed since Israel seized the city decades ago in the Six Day War.

Facing a global outcry over the move, the Trump administration is pushing back on its critics and arguing that the status quo in Israel has done little to resolve a long running conflict. Ms Haley warned that “the United States will remember this day in which it was singled out for attack in the General Assembly for the very right of exercising our right as a sovereign nation”.

“We will remember it when we are called upon once again to make the world's largest contribution to the United Nations,“ she said. “And we will remember when so many countries come calling on us, as they so often do, to pay even more and to use our influence for their benefit”.

Protests erupt after Trump recognises Jerusalem as Israel's capital Show all 22 1 /22 Protests erupt after Trump recognises Jerusalem as Israel's capital Protests erupt after Trump recognises Jerusalem as Israel's capital Supporters of Difa-e-Pakistan Council a coalition of right wing Islamic parties, burn an effigy of US President Donald Trump, during a protest in Quetta, Pakistan EPA Protests erupt after Trump recognises Jerusalem as Israel's capital Israeli police scuffle with a Palestinian protester outside Damascus Gate in Jerusalem's Old City Getty Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protesters burn pictures of Donald Trump and Benjamin Netanyahu following Trump's decision to recognise Jerusalem as the capital of Israel, in Gaza City AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Israeli forces disperse Palestinian protesters outside Damascus Gate in Jerusalem's Old City on 7 December 2017 AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Supporters of the Difa-e-Pakistan Council (DPC), an Islamic organization, chant slogans as they burn Israeli and US flags during a protest against Donald Trump in Peshawar REUTERS Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinians paint an 'X' over the face of a picture of US president Donald J. Trump which was painted on the Israeli separation wall in Bethlehem EPA Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protestors burn the Israeli flag and a poster of US President Donald Trump in Gaza City AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Supporters of a Pakistani religious party rally against Donald Trump in Lahore AP Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protesters burn the US and Israeli flags in Gaza City AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital A poster depicting U.S. President Donald Trump is burnt during a protest against Trump's decision to recognize Jerusalem as the capital of Israel, in the West Bank city of Ramallah REUTERS Protests erupt after Trump recognises Jerusalem as Israel's capital Israeli forces detain a Palestinian protester during clashes that followed protests against US President Donald Trump recognising Jerusalem as the capital of Israel, in Hebron AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protesters burn an effigy of U.S. President Donald Trump AP Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protesters shout slogans against Donald Trump EPA Protests erupt after Trump recognises Jerusalem as Israel's capital A Palestinian protester wears a Guy Fawkes mask used by the anonymous movement during clashes with Israeli troops in Hebron AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian demonstrators clash with Isralei troops during protests AFP/Getty Images Protests erupt after Trump recognises Jerusalem as Israel's capital Supporters of a Pakistani religious party chant anti-American slogans during a rally in Islamabad, Pakistan AP Protests erupt after Trump recognises Jerusalem as Israel's capital Pakistanis burn a representation of the U.S. flag during a protest rally in Hyderabad AP Protests erupt after Trump recognises Jerusalem as Israel's capital Young Palestinian women look on as smoke billows from burning tyres as fellow Palestinian demonstrators clash with Isralei troops AFP/Getty Protests erupt after Trump recognises Jerusalem as Israel's capital Protesters burn a picture of U.S. President Donald Trump at a protest in Islamabad REUTERS Protests erupt after Trump recognises Jerusalem as Israel's capital Protestors shouts slogans against US President Donald Trump as they hold Palestinian and Turkish flags during a protest near the US Embassy in Ankara, Turkey EPA Protests erupt after Trump recognises Jerusalem as Israel's capital Palestinian protestors put their feet over a picture of US president Donald Trump during a protest in the West Bank City of Nablus EPA Protests erupt after Trump recognises Jerusalem as Israel's capital Pakistani protesters burn tires at an anti-Donald Trump rally in Multan AP

That line of criticism echoed Donald Trump’s frequent arguments that America has gotten an unfair deal in making larger contributions to international bodies like NATO. The President this week threatened to curtail aid to countries that back the resolution assailing American policy.