getUserInfoWithConsent
@GET(value = "/{productType}/oauth2/{apiVersion}/userinfo")
Makes a request to get the ApiUser Info with Consent.
Return
A Response containing the UserInfoWithConsent.
Parameters
productType
The API Products (MomoConstants.ProductTypes).
apiVersion
The app Version (e.g., v1_0 or v2_0).
productSubscriptionKey
The Product subscription Key (Ocp-Apim-Subscription-Key).
environment
The API environment (X-Target-Environment).