This article explains several ways to add money to your Apple Wallet, including gift cards, iTunes Pass, and money transfers using your preferred payment method.
How to redeem an Apple Gift Card | Apple Support
Here's how to add the App Store and iTunes Pass to the Wallet app on your iPhone:
Open the App Store on your iPhone, then tap your account profile image in the upper-right corner.
Tap Redeem Gift Card or Code.