Yes, card and transaction information is encrypted and secure on your device. It is not disclosed to the merchant or Apple. And to make the payment, you need to unlock your iPhone via a code, Face ID or fingerprint.