Finely slice the onions and put in a large bowl with salt for 10 minutes this will make the mixture moister.
Add all the other ingredients except the oil and water, mix well.
Add a bit of water at the time and once the mixture has come together into a batter, the mixture is ready to fry.
Heat up a large pan with frying oil, to check if the oil is hot enough, add a drop of batter, it should come to the surface almost immediately, once you have the right temperature start to fry the pakoras adding a spoonful of batter at the time.
Fry until brown on each side and serve with tamarind chutney.