Google Wallet is one of the most secure ways to pay. Your card number is not stored anywhere, neither on the device nor on Google's servers. It is therefore not possible to share the card number with third parties. Google Pay does not store any information about transactions and therefore cannot be tracked.
We recommend deleting all payment card credits in your phone's Wallet when you sell or pass on your phone.