Add red onion, black beans, corn, cumin, chili powder, garlic powder, and salt in a large bowl. Set the bowl aside.
Place the pita on the cutting board, slice it into two, and set aside.
In a deep pan, heat oil.
Add pita bread and fry until golden brown.
Take it out and place it on a kitchen towel to soak up excess oil.
Fill the fried pita bread pockets with the prepared black bean mixture.
Drizzle sour cream on top and garnish with shredded lettuce and tomato salsa before serving. Enjoy!