๐Ÿ”„ refreshResponse.created

Whenever the bets for a specific bettorAccount are refreshed we fire a webhook event.

{
    "event": "refreshresponse.created",
    "sender": "SampleApp",
    "data": {
        "id": "RRES_95ac53f7a40e4911b96390d64d637e7b",
        "timeCreated": "2021-05-17T05:04:30.065796Z",
        "bettor": "BTTR_a0ebf8ba53304fde8b9b3d7f9605c841",
        "bettorAccount": "BACT_a679867dc9624bb4b75f6b9dc1e4a8c6",
        "status": 200,
        "detail": null,
        "type": "manual",
        "requestId": "93947bc9c8374fb1a1177c2ea2654d95",
        "betSlips" : []
    }
}

The payload contains the details of a ๐Ÿ”„ Refresh Responseobject. This webhook lets you track the asynchronous responses to your refresh requests, and get new bets filtered by refreshReponse.

  • When you request a bettor refresh, you can expect a webhook event for each verified and accessible bettorAccount for this bettor
  • When you request a bettorAccount refresh, you can expect a single webhook event for this bettorAccount
  • SharpSports automatically refreshes bets for any new bettorAccount and a webhook will be fired in this case as well.