Menu

Wallet, on your server

wallet.loss

Tells you a round ended with no win.

Who calls it

We → youPOST {your server}/v1/wallet.loss

We send it when a round ends with no win. You end your own round record and raise your own “round completed”. We sign the call with our private key. Check it with our public key for the environment. See Signing calls. You answer within 5 seconds.

Request

FieldTypeWhat it is
transactionIdstringThe same call again moves no money.
roundIdstringLinks the stake to its win, loss or refund. Store your own round with it.
sessionIdstringLinks the money to our session.
casinoSessionIdstringLinks the money to your own session.
playerIdstringWhose balance.
currencystringWhich money.
traceIdstringOne search finds the whole chain on both sides.

Answer

Accepted: "ok": true. There is no balance in this answer.

If you do not answer

Errors

Example

POST {your server}/v1/wallet.lossExample
Request
{
  "transactionId": "t-01JC92…",
  "roundId": "r-01JC93…",
  "sessionId": "s-01JC8Z…",
  "casinoSessionId": "c-5531",
  "playerId": "p-82731",
  "currency": "EUR",
  "traceId": "tr-01JC…"
}

Answer
{ "ok": true }