public Task <TopUpResult> TopUpAccountBalanceAsync(TopUpRequest request, Credentials creds = null) { return(ApiRequest.DoGetRequestWithQueryParametersAsync <TopUpResult>( ApiRequest.GetBaseUriFor(typeof(AccountClient), "/account/top-up"), ApiRequest.AuthType.Query, request, credentials: creds ?? Credentials )); }
public TopUpResult TopUpAccountBalance(TopUpRequest request, Credentials creds = null) { return(TopUpAccountBalanceAsync(request, creds).GetAwaiter().GetResult()); }