getBasicUserInfo

@GET(value = "/{productType}/{apiVersion}/accountholder/msisdn/{accountHolderId}/basicuserinfo")
abstract suspend fun getBasicUserInfo(@Path(value = "productType") productType: String, @Path(value = "apiVersion") apiVersion: String, @Path(value = "accountHolderId") accountHolder: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String, @Header(value = "X-Target-Environment") environment: String): Response<BasicUserInfo>

Makes a request to get the Basic ApiUser Info.

Return

A Response containing the BasicUserInfo.

Parameters

productType

The API Products (MomoConstants.ProductTypes).

apiVersion

The app Version (e.g., v1_0 or v2_0).

accountHolder

The account holder ID.

productSubscriptionKey

The Product subscription Key (Ocp-Apim-Subscription-Key).

environment

The API environment (X-Target-Environment).