getBalanceInfo

abstract fun getBalanceInfo(accessToken: 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

accessToken

the access token of the user

Throws

HttpException

if the network request fails

SocketTimeoutException

if the network request times out (in case of no or slow network)