rest api user add total_credit