Paying PIX

How would a foreigner pay pix? I’m not exactly sure how I would do it through my banks/credit card or if it’s a whole thing on its own?