added new feature: getCreditBalance