SharpSports utilizes webhooks to let users know when certain async events have taken place.
Event Structure
All webhook events are categorized by a string "{object}.{action}"
. The payload of the webhook will contain the "event" and "data" containing the details of the object described in the event. For example, in the bettorAccount.verified
event payload, the data consists of attributes of the relevant bettorAccount object. The webhook also includes a "sender" field which is simply your application name in our database.