getBasicUserInfo

fun getBasicUserInfo(productType: String, apiVersion: String, accountHolder: String, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<io/rekast/sdk/model/BasicUserInfo>>

Retrieves the basic user information for a specified MTN MOMO user.

Return

A Flow emitting a NetworkResult containing the BasicUserInfo of the specified user.

Parameters

productType

The type of product for which to retrieve the user information.

apiVersion

The version of the API to use.

accountHolder

The MSISDN or other identifier for the account holder.

productSubscriptionKey

The subscription key for the product.

environment

The target environment (e.g., sandbox or production).