When you purchase something online with Apple Pay, it will by default ship to the address associated with your Apple Pay information. You likely entered a shipping address when you first set up Apple Pay, but if you didn’t, or if you want to change the address or add a new one, this is easily done through settings.