updateBalance

abstract fun updateBalance(accessToken: String): Completable

Updates the balance and returns a completable that tells whether it succeeded or not.

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)