Drain the soaked yellow peas and transfer them to a food processor or blender.
Blend until you get a coarse paste. Avoid making it too smooth.
In a large bowl, combine the yellow pea paste with chopped onion, green chilies, cumin seeds, coriander seeds, turmeric powder, baking powder, cilantro leaves, and mint leaves (if using).
Season with salt and mix well until all ingredients are evenly distributed.
Heat vegetable oil in a deep pan or fryer over medium heat. The oil should be hot enough for frying but not smoking.
With your hands or a spoon, shape small balls or patties from the mixture.
Carefully drop them into the hot oil, a few at a time, making sure not to overcrowd the pan.
Fry until golden brown and crisp, about 4-5 minutes per side.
Remove with a slotted spoon and drain on paper towels.
Enjoy your meal!