#
Deposit event
#
POST /:partnerId/event/deposit
#
When
Send this event when a players deposit was completed and successful.
#
Parameters
#
Schema
{
"ludio_id": "string",
"timestamp": 0,
"payload": {
"currency": "SEK",
"amount": 0,
"new_balance": 0
}
}
#
Examples
fetch(`${process.env.LUDIO_EVENT_API_HOST}/event/deposit`, {
method: "POST",
body: {
"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45",
"timestamp": 1681201484,
"payload": {
"currency": "SEK",
"amount": 2000,
"new_balance": 3500
}
}
})
curl -d '{"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45","timestamp": 1681201484,"payload": {"currency": "SEK","new_value": 2000,"previous_value": 3500}}' $LUDIO_EVENT_API_HOST/event/deposit