In a small bowl, combine the chili powder, cumin, oregano, smoked paprika, salt, black pepper, and red pepper flakes (if using). Set aside.
Heat the oil in a Dutch oven or large pot over medium heat until shimmering. Add the onion and cook until translucent and lightly browned, about 3 minutes. Stir in the jalapeño, garlic, and prepared spice mixture, and cook until fragrant, about 2 minutes.
Add the tomato paste and stir until incorporated. Cook for 2 minutes.
Stir in the black beans, chickpeas, corn, and diced tomatoes and mix well.
Pour in the broth and 1 cup of water, and bring to a boil. Once boiling, reduce the heat to medium-low and simmer for 15 minutes, stirring occasionally.
Remove from the heat and stir in the lime juice.
Divide the soup among four bowls and top each with chopped cilantro (if using) and toppings of choice.
