I have two apps: APP 1 and APP 2.
APP 1 has in app purchase to activate premium features.
I want to know that can I do like, PAY via inAPP purchase/In App wallet from the APP 2 and upon successful payment, I call an public API of APP 1 which activates the premium features.
Is this possible? I mean that do google/Apple allow this flow?