getBasicUserInfo

fun getBasicUserInfo(productType: String, apiVersion: String, accountHolder: String, productSubscriptionKey: String, environment: String): Flow<NetworkResult<BasicUserInfo>>

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

Return

A Response containing the BasicUserInfo of the specified user.

Parameters

accountHolder

The identifier for the account holder.

productSubscriptionKey

The subscription key for the product.

accessToken

The access token for authentication.

apiVersion

The version of the API to use.

productType

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