If using canned beans, rinse under water and drain.
Heat oil in skillet. Saute onion and garlic until onion has softened and garlic is aromatic.
Add drained beans, tomato paste, and all the seasonings. Saute well on low flame for 30 seconds for the spices to cook.
While the beans are still cooking, the back of spoon/spatula or potato smasher, mash the beans until it comes together. The mixture will get thick and start sticking to the pan. So add 1/3 cup of water or stock and cook the mix on lowest heat for one minute. Take off the heat and check seasoning.
Heat a nonstick skillet. Place 1-1.5 tablespoons of bean mix (use a small ice. cream scoop). Place a tortilla on top, gently press the tortilla, and spread the bean mixture underneath.
Cook on low heat for about 1-minute. the bean mixture will crisp up slightly. Flip and sprinkle shredded cheese. Let it melt.
Once the cheese has melted, fold it into half. ( You can add pico-de-gallo, avocado before folding into half.