Public Keys Prefixes and Derivation Paths
It all depends on the wallet. There is no rule saying they should even accept these strings or know what they correspond to and there is no consensus among wallets.
Wallet A could accept zpub and know the desired path and script type while wallet B may accept the same zpub, ignore its version byte and use the default derivation path and a completely different script type while wallet C could simply reject the string because of &quot;unexpected&quot; starting character (z).
With that said most of the times wallets perform similarly as long as there is a BIP somewhere defining the algorithms.