post https://{domain}.apps.scrimmage.co/api/integrations/rewards/batch
Example of a batch of rewardable events
Only userId
and dataType
are required. All other fields are optional.
[
{
"userId": "15",
"dataType": "betExecuted",
"eventId": "test",
"body": {
"betType": "single",
"odds": 5.2,
"description": "Just a cool bet"
}
},
{
"userId": "16",
"dataType": "betExecuted",
"eventId": "test",
"body": {
"betType": "single",
"odds": 5.1,
"description": "Just a cool bet"
}
}
]