Yes, Apple Pay is known for being very secure. For each purchase you make, Apple Pay uses a device-specific number and a unique transaction code. This means your card number is not stored on your device or on an Apple server. Apple never shares your identity or card information with merchants.
When you pay online or in an app, only the information needed to fulfil your order (such as your name and shipping address) will be shared with the merchant.
What’s more, to make sure your purchases remain private, Apple doesn’t keep any transaction information that can be tied back to you.