Place onion in a small bowl and cover with ice water; let sit for 10 minutes.
Drain onion, pat dry, and place in a medium bowl. Add chickpeas, spinach, feta, cucumber, tomato, peppers, olives, oil, vinagar, and cumin; stir gently to combine. Season with cayenne to taste.
Fill pita halves with vegetable mixture and serve.