In which Hispanic American country is it okay to call strangers "Mami" or "Papi"?

I used to do street sales at the Bronx, where lots of Dominicans and Nuyoricans live, and my partner was a Colombian from Cali, and one thing that I picked up from her was approaching strangers by using "Mami" and "Papi" when talking to strangers. The Dominicans and Boricuas seemed to be totally fine with that. This made me think, in which countries is it totally okay to talk to strangers using "Mami" and "Papi" as a term of endearment, while not be seen as flirty, and borderline creepy and rude.