get Wallet Status

suspend fun getWalletStatus(period: RevenuePeriod, labels: List<RevenueLabel>, retrieveGeneralRevenues: Boolean, retrieveProjectsRevenues: Boolean): JsonObject

Method to request the current wallet status of the user

Return

the result of the request as JsonObject

Parameters

period

The period of the revenues to consider in the wallet count

labels

The labels used as filters

retrieveGeneralRevenues

Whether count also the general revenues

retrieveProjectsRevenues

Whether count also the project