getBasicUserInfo

suspend fun getBasicUserInfo(productType: String, apiVersion: String, accountHolder: String, productSubscriptionKey: String, environment: String): Response<BasicUserInfo>

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

Return

A Response containing the io.rekast.sdk.model.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 identifier for the account holder.

productSubscriptionKey

The subscription key for the product.

environment

The API environment (e.g., production, sandbox).