๐ช Handling Webhooks
Best Practices
Bettor Events
- ๐ค โ
bettor.created
- Be sure to store the
bettorIdalongside theinternalIdin your database.
- Be sure to store the
BettorAccount Events
- ๐ฑโ
bettorAccount.verified
- If you are creating custom Bettor Account Management functionality, use this endpoint to keep the account status up to date.
- ๐ฑโ ๏ธbettorAccount.unverified
- Use this endpoint to notify users when there is an issue with their account.
- ๐ฑ โ bettorAccount.inaccessible
- Use this endpoint to update any internal representation of a users' status and permissions.
RefreshResponse Events
-
-
Be sure to handle the various
statuscodes on the ๐ Refresh Response objects.
It's recommended to process the betSlips in the refreshResponse after responding with a 200 to confirm receipt of the webhook. The webhook connection will timeout if the response takes too long. -
Updated 3 months ago