#
Set limit event
#
POST /:partnerId/event/setlimit
#
When
Send this event when a players limit change was initated, either by the player itself, support agent or the system.
Note: Trigger the event on the actual change, not when the limit actually applies.
#
Parameters
#
Schema
{
"ludio_id": "string",
"timestamp": 0,
"payload": {
"limit_type": "block|deposit|wager|netloss",
"limit_timeframe": "monthly|weekly|daily",
"currency": "SEK",
"new_value": 0,
"previous_value": 0
}
}
#
Examples
fetch(`${process.env.LUDIO_EVENT_API_HOST}/event/setlimit`, {
method: "POST",
body: {
"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45",
"timestamp": 1681201484,
"payload": {
"limit_type": "deposit",
"limit_timeframe": "weekly",
"currency": "SEK",
"new_value": 2000,
"previous_value": 1500
}
}
})
curl -d '{"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45","timestamp": 1681201484,"payload": {"limit_type": "deposit","limit_timeframe": "weekly","currency": "SEK","new_value": 2000,"previous_value": 1500}}' $LUDIO_EVENT_API_HOST/event/setlimit