Get PricingPlan for arbitrary user, not current user?

getUser returns a UserInfo object which doesn’t contain any PricingPlan data.

The PricingPlan data only seems to be available in the User object, which seems to only be available for the current logged-in user.

That’s no good to me, as I’m trying to write an HTTP function to allow an external system to query the PricingPlan data for an arbitrary user.

Unless I’m missing something, this isn’t possible. It means I’m going to have to write my own Pricing Plan functionality into my own database. Possible, but a PITA!