⬆️ POST /v1/integration/lottery

Send each Bet and Win event separately.

Sample Request for Lottery Subscription Purchase

    
{
"timestamp": "2019-02-18T10:35:03-08:00",
"transaction_id": "23767444",
"user_id": "5288704",
"amount": 36,
"account_amount": 16.80,
"bonus_amount": 0,
"bonus_code": "",
"currency": "BRL",
"deposit_amount": 19.20,
"exchange_rate": 1,
"origin": "sub.example.com",
"status": "Approved",
"tickets": [
{
"ticket_id": "17167745",
"product": "SingleTicket",
"product_name": "Mega-Sena",
"amount": 18,
"lines_count": 1,
"draws": [{ "timestamp": "2019-02-20T14:00:00-07:00" }]
},
{
"ticket_id": "17167746",
"product": "SingleTicket",
"product_name": "Mega-Sena",
"amount": 18,
"lines_count": 1,
"draws": [{ "timestamp": "2019-02-20T14:00:00-07:00" }]
}
]
}