getUserInfoWithConsent
fun getUserInfoWithConsent(productType: String, apiVersion: String, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<io/rekast/sdk/model/UserInfoWithConsent>>
Retrieves extended user information for a MTN MOMO user who has granted consent.
Return
A Flow emitting a NetworkResult containing the UserInfoWithConsent of the user.
Parameters
productType
The type of product for which to retrieve the user information.
apiVersion
The version of the API to use.
productSubscriptionKey
The subscription key for the product.
environment
The target environment (e.g., sandbox or production).