Heat oil in a skillet over medium heat.
Add chopped onion and ginger. Cook until the onion turns soft and lightly pink.
Add curry powder, salt, and paprika. Stir for a few seconds.
Add tofu cubes and soy sauce. Toss gently so the tofu is coated with the onion and spice mixture.
Cook for a few minutes until the filling becomes dry. Turn off the heat and cool the filling completely.
Thaw the puff pastry sheets for about 5 minutes, or until they are foldable but still cold.
Cut the pastry sheets into rectangles. Add a spoonful of tofu filling to each piece.
Fold and seal the puffs firmly. Repeat with the remaining filling.
Freeze the prepared tofu puffs for 3 to 4 hours, or overnight.
Preheat the air fryer to 190°C or 375°F for 5 minutes.
Place the frozen tofu puffs in the air fryer basket, leaving space between each puff.
Spray lightly with oil.
Air fry for 15 to 16 minutes, or until the puffs are crisp, flaky, and golden brown.
Serve hot with tomato ketchup or chutney.