The first time a bettor using your application attempts to verify a sportsbook account a new bettor object is created in our database.
Payload
{
"event": "bettor.created",
"sender": "SampleApp",
"data": {
"id": "BTTR_5nrgeCfwQjyUDHoK72kQ",
"internalId": "12345"
}
}
In order to use our API it is essential that you store the bettorID next to your internalId that you use to uniquely identify this bettor in your database. In order to facilitate this process, we fire a webhook event.
The payload contains both the SharpSports bettorID and your internalId. In the rare case that you miss this initial webhook and receive a different webhook event referencing a bettorID that you do not have stored, you can always use the bettor detail endpoint to view the relevant data.