add ws integration logic in billing