minor api change
change balance to credit_balance