The foreigner travel app (can’t remember the link) for the subway, it’s on your nfc capable phone and you can load it with your visa. If not you need cards.
I’m not sure how it works with a group either.
Gone are the days of tossing 500W into the little tin and getting a ticket.
Once you figure out how the tickets work, getting anywhere in Seoul is easy.