Turkish President Recep Tayyip Erdogan has told EU leaders they must pay the promised €3bn (£2.5bn) in aid if they want the refugee deal to stay intact.

Under the terms of controversial “one in, one out” deal, Turkey has agreed to readmit all refugees who arrive on Italian and Greek shores after travelling across the Mediterranean in exchange for member countries accepting an equal number of refugees from its camps.

The deal, agreed in March, also involved the speeding up of Turkey’s application to join the EU, visa-free travel for Turkish citizens and aid money to help the country care for the estimated three million Syrian refugees it hosts in camps along the border.

Mr Erdogan told German broadcaster ARM: “Ask them, did you pay?

“Turkey still hosts three million people. What would Europe do if we let these people go to Europe?

"The EU governments are not honest”.

Since the agreement the number of people making the dangerous journey across the sea to reach the shores of Italy and Greece has fallen from tens of thousands a week to just a few dozen.

In pictures: Turkey coup attempt Show all 17 1 /17 In pictures: Turkey coup attempt In pictures: Turkey coup attempt Turkish President Erdogan attends the funeral service for victims of the thwarted coup in Istanbul at Fatih mosque on July 17, 2016 in Istanbul, Turkey Burak Kara/Getty Images In pictures: Turkey coup attempt Soldiers involved in the coup attempt surrender on Bosphorus bridge with their hands raised in Istanbul on 16 July, 2016 Gokhan Tan/Getty In pictures: Turkey coup attempt A civilian beats a soldier after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 REUTERS/Murad Sezer In pictures: Turkey coup attempt Surrendered Turkish soldiers who were involved in the coup are beaten by a civilian Reuters In pictures: Turkey coup attempt Soliders involved in the coup attempt surrender on Bosphorus bridge Getty In pictures: Turkey coup attempt Supporters of Turkish President Recep Tayyip Erdogan wave flags as they capture a Turkish Army vehicle Getty In pictures: Turkey coup attempt People pose near a tank after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 Reuters In pictures: Turkey coup attempt Turkish soldiers block Istanbul's Bosphorus Brigde Getty In pictures: Turkey coup attempt A Turkish military stands guard near the Taksim Square in Istanbul Reuters In pictures: Turkey coup attempt Pierre Crom/Twitter In pictures: Turkey coup attempt Turkish soldiers secure the area as supporters of Recep Tayyip Erdogan protest in Istanbul's Taksim square AP In pictures: Turkey coup attempt People demonstrate in front of the Republic Monument at the Taksim Square in Istanbul Murad Sezer/Reuters In pictures: Turkey coup attempt Turkish soldiers detain police officers during a security shutdown of the Bosphorus Bridge Reuters In pictures: Turkey coup attempt Turkish Army armoured personnel carriers in the main streets of Istanbul Getty In pictures: Turkey coup attempt Chaos reigned in Istanbul as tanks drove through the streets EPA/TOLGA BOZOGLU In pictures: Turkey coup attempt Turkish President Tayyip Erdogan speaks to media in the resort town of Marmaris Reuters In pictures: Turkey coup attempt Supporters of President Erdogan celebrate in Ankara following the suppression of the attempted coup Reuters

President Erdogan’s threat to bring back the death penalty, which was abolished in 2004 as part of its application to join the EU, has been condemned by European Commission President Jean-Claude Juncker who said all negotiations on Ankara’s accession would cease immediately if it is carried out.

This is despite other EU leaders saying the deal is unaffected by the situation in Turkey.

A handful of soldiers seized control of both bridges over the Bosphorus in Istanbul and the state broadcaster in an attempt to oust President Erdogan from power on 15 July, but their coup failed when thousands of protesters streamed onto the streets to support the premier.

The next day, President Erdogan began “cleansing” the army, the police and other state institutions of what he called “Gulenists” - named after an exiled cleric, Fetullah Gullen, who he claims masterminded the attempted coup.