This webhook is sent when all lottery draws for the day are finished, and then the Redemption endpoint should be called.
Each customer who placed at least one bet in any of the draws will be notified only once.
Information included
| Field | Description |
|---|---|
orders | Array of order objects with customer’s order data. |
orders.orderId | The unique ID of the order in Sorte Online. |
orders.orderCorrelationId | The partner’s reference ID for the order. |
draws | Array of draw objects with lottery results. |
draws.lottery | The name of the lottery. |
draws.drawNumber | The draw number. |
draws.totalPrize | The total prize value generated by all bets from the customer in that draw. |
evaluationTime | Date and time (ISO 8601) when the evaluation of all lotteries was completed. |
Example payload
{
"orders": [
{
"orderId": "1512652504213-01",
"orderCorrelationId": "asdas-adads-asdasd-asdasd"
},
{
"orderId": "1512652504213-01",
"orderCorrelationId": "zxcv-zxczc-zxcc-zxczc"
}
],
"draws": [
{
"lottery": "Mega-sena",
"drawNumber": 2832,
"totalPrize": 5000
},
{
"lottery": "Lotofácil",
"drawNumber": 3200,
"totalPrize": 0
},
{
"lottery": "Quina",
"drawNumber": 2800,
"totalPrize": 7000
}
],
"evaluationTime": "2025-02-22T21:59:45Z"
}