G Pay is not a bank, it's payment processor like Stripe. They don't hold any money. Though you are right that this gives them information about what you're purchasing.
Well, it's not exactly a payment processor either. They're like a payment initiator. They funnel the payments through your processor in the end, according to their docs: https://payments.google.com/solutions/onboarding/