getAccountBalanceInSpecificCurrency

suspend fun getAccountBalanceInSpecificCurrency(productType: String, apiVersion: String, currency: String, productSubscriptionKey: String, environment: String): Response<AccountBalance>

Retrieves the account balance in a specific currency. This only works with the ProductType.COLLECTION. It seems to break with the other API product type.

Return

A Response containing the io.rekast.sdk.model.AccountBalance.

Parameters

productType

The type of product for which to retrieve the account balance.

apiVersion

The version of the API to use.

currency

The currency for which to retrieve the account balance.

productSubscriptionKey

The subscription key for the product.

environment

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