Heat your oil in a pan on a medium heat and add the diced onion. Saute for 4-5 minutes then add your minced garlic. Saute for 1-2 minutes until golden and fragrant.
Add your tomato puree and chipotle chilli paste, stir.
Add in all the spices, the apple cider vinegar, and the brown sugar and stir.
Tip in the pinto beans along with their juice and stir them into the sauce/spice mix until fully coated. Simmer the beans on a low heat for 10 minutes.
Blend between 1/4 and 1/3 of the pan with a stick blender (or remove, blend, and return to the pan).