getAccountBalance

@GET(value = "/{productType}/{apiVersion}/account/balance")
abstract suspend fun getAccountBalance(@Path(value = "productType") productType: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<AccountBalance>

Makes a request to get the Account Balance. This only works with the io.rekast.sdk.utils.ProductTypes.COLLECTION. It seems to break with the other API product type.

Return

A Response containing the AccountBalance.

Parameters

productType
apiVersion

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

productSubscriptionKey

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