Heat oil in a large frying pan or skillet over medium-high heat.
Add cumin seeds. Saute, stirring, for approximately 30 seconds or until fragrant.
Add ginger and green chilies. Saute, stirring, for about 1 minute or until aromatic.
Add ground cumin, ground fennel, red chili powder, garam masala, and dried mango powder (amchur), if using.
Saute, stirring, for about 30 seconds or until aromatic.
Add green peas and paneer. Season with salt.
Saute, stirring occasionally, for about 2-3 minutes.
Add roasted pumpkin. Stir gently and lightly mash some of the pumpkin while leaving small pieces intact.
Cook for about 3-4 minutes or until the mixture is dry.
Stir through chopped coriander (cilantro) leaves and dried fenugreek leaves (kasuri methi).
Allow the filling to cool completely before assembling the samosas.