Dwolla\Account::balance PHP Method

balance() public method

Returns balance of the account associated with the current OAuth token.
public balance ( string $alternate_token = false ) : integer
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
return integer Balance of account.
    public function balance($alternate_token = false)
    {
        return self::_get('/balance/', ['oauth_token' => $alternate_token ? $alternate_token : self::$settings->oauth_token]);
    }