validateAccountHolderStatus

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

Validates whether the specified account holder is active in the MTN MOMO system.

Return

A Flow emitting a NetworkResult with the raw validation result as a ResponseBody.

Parameters

productType

The type of product for which to validate the account holder.

apiVersion

The version of the API to use.

accountHolder

The account holder details (ID and type) to validate.

productSubscriptionKey

The subscription key for the product.

environment

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