
Combine onions and water (starting with ½-cup, adding a bit more as necessary to form a smooth paste) in a blender and blitz until smooth. Transfer approximately ¼ of the blended onions to a large bowl and set aside (this will be used for the dumplings), and transfer the remaining puree to a large cooking vessel (one that will be used to cook the Karhi).
Slowly add the gram flour and yogurt mixture to the pot, stirring all the while. Bring to a boil, reduce heat to medium-low, cover, and cook until thickened to desired consistency, about 1 ½ to 2 hours. If the Karhi seems to be boiling over, adjust the lid a little to allow the steam to escape. Also, if the karhi seems too thick, add more water. If it is too thin, simply cook further. Remove from heat and set aside.
Heat oil in a wok over medium heat. To test if the oil is ready, drop a little bit of the pakora batter into it. The batter should begin to sizzle and rise to the surface of the oil within a few seconds. Drop heaping tablespoons of the batter into the hot oil and cook until golden brown on both sides, about 3 to 4 minutes. Transfer the pakoray directly to Karhi once cooked through.
Heat oil in a pan over medium-high heat. Add onions and fry until the edges begin to lightly brown. Add garlic, curry leaves, cumin seeds, and dried red chilies. Stir and sauté until the onions are completely golden brown. Pour this mixture directly into Karhi and cover. Allow the Karhi to remain undisturbed for 15 minutes. Stir and serve.
Curry leaves can readily be found at local South Asian grocery markets.
Pakora batter can be prepared earlier on during the cooking process. Simply fry once the Karhi has been prepared. It is important to note that the Karhi should be warm when adding the pakoray, but the stove must be turned off. If the Karhi was prepared earlier on, simply warm it up, turn off the heat, and add fried pakoray. Leaving the stove on while adding the pakoray will toughen them up, and you will no longer have the melt-in-your-mouth characteristic of a classic Pakoray wali Karhi.