Combine the oil, apple cider vinegar, and sugar in a medium saucepan. Over medium heat, bring to a simmer. Cook for approximately 1-2 minutes or until the sugar is dissolved. Remove from the heat. Allow to cool to room temperature.
Add the cans black-eyed peas, pinto beans, and corn into a strainer to drain. Rinse with cool water.
Combine the washed pinto beans, black eyes peas, and corn with the celery, bell pepper, and onion in a large mixing bowl. Add the pepper and stir well.
Pour the vinegar marinade over the vegetable and bean mixture. Stir well.
Cover with plastic wrap and refrigerate for 1 hour before serving.
Notes
Texas caviar will keep in the refrigerator for up to 5 days.