This is really not a issue in Brazil. Consumers laws are strong. I actually prefer to use Pix for exact this reason, because I can get the refund in 1 second, literally (already did with Amazon). While with credit cards that's not the case.
If it's in-person you bought something, technically you can only return up to 30 days for non durable goods, and 90 days for durable goods, if there's some problems with the product, or a reason etc.