added bet creation api