Trump boycotted the Johannesburg summit because of a widely discredited claim that South Africa’s white minority is the victim of large-scale killings and land grabs.

Ramaphosa said in a statement that the US had been expected to participate in the G20 meetings, “but unfortunately, it elected not to attend the G20 Leaders Summit in Johannesburg out of its own volition”. He however noted that some US businesses and civil society entities were present.

He said that since the US delegation was not there, “instruments of the G20 Presidency were duly handed over to a US Embassy official at the Headquarters of South Africa’s Department of International Relations and Cooperation”.

The low-key handover appears to have further angered Trump, who has been critical of the South African government’s domestic and foreign policies.

He has in the past claimed that a white genocide was taking place in South Africa, and on Wednesday he said the government was “killing white people and randomly allowing their farms to be taken from them”.

The South African government has consistently rejected such claims as widely discredited and lacking reliable evidence.

Ramaphosa said it was regrettable that despite efforts to reset relations with the US, Trump continued “to apply punitive measures against South Africa based on misinformation and distortions about our country”.

In the Truth Social post on Wednesday, Trump said South Africa had “demonstrated to the world they were not a country worthy of membership anywhere” and announced a stop to “all payments and subsidies to them, effective immediately”.

South African officials have called for solidarity and urged other G20 members to defend the integrity of the gathering and the rights of all its member states.

The G20 summit, which was for the first time held in Africa, ended with a joint declaration committing to “multilateral co-operation” on climate change mitigation and economic inequality.

The declaration was adopted despite objections from the US, which has accused South Africa of weaponising its leadership of the group this year.

Additional reporting by Pumza Fihlani in Johannesburg