getAccountBalanceInSpecificCurrency

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

Makes a request to get the Account Balance in a specific currency. This only works with the ProductType.COLLECTION. It seems to break with the other API product type. User EUR as the currency on sandbox

Return

A Response containing the AccountBalance.

Parameters

productType

The API Products (MomoConstants.ProductTypes).

apiVersion

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

currency

The currency based on the ISO standard.

productSubscriptionKey

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

environment

The API environment (X-Target-Environment).