accept json base64 for bets