getUserInfoWithConsent

suspend fun getUserInfoWithConsent(productType: String, apiVersion: String, productSubscriptionKey: String, environment: String): Response<UserInfoWithConsent>

Retrieves user information with consent for a specified product type.

Return

A Response containing the user information with consent.

Parameters

productType

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

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the product.

environment

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