"To pay one's (own) way" is an idiomatic expression that means "to pay one's own share of the expenses". I'd guess that "way" originally meant "journey", but it's much more general now and I wouldn't bother about decomposing the expression (unless you're particularly interested in researching its origin, of course). Just treat it as a unit.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.