get Balance Info
abstract fun getBalanceInfo(legacySessionToken: String, identityAccessToken: String): Single<BalanceInfo>
Gets the latest balanceInfo returned from updateBalance or pollForBalance. If no balance have been returned before an updateBalance will be called to get the BalanceInfo
Parameters
legacy Session Token
the legacy session token of the user (sent as x-session)
identity Access Token
the identity access token (JWT) of the user (sent as Authorization: Bearer)
Throws
Http Exception
if the network request fails
Socket Timeout Exception
if the network request times out (in case of no or slow network)