Heat ghee in a large pot and sauté the sliced onions until golden brown.
Add ginger-garlic paste and sauté until the raw smell disappears.
Add turmeric powder, black pepper powder, and garam masala powder. Cook for 2 minutes, stirring continuously.
Add the cleaned goat trotters (paya) and sauté for 5-7 minutes until well coated with the spices.
Add enough water to cover the trotters and bring to a boil. Reduce the heat, cover the pot, and simmer for 2-3 hours until the trotters are tender and the soup is flavorful.
Add slit green chilies and salt to taste. Simmer for another 15-20 minutes.
Garnish with fresh coriander leaves and serve hot with lemon wedges on the side.