Apple Wallet and Apple Pay serve different functions, but you need them both to make online payments and store your cards.
Apple Pay is Apple's mobile payments service that initially launched in 2014. It is designed to allow iPhone, iPad, Mac, ...