Settlement Feed

Settlement Feed
  • Establish connection.

  • Process message. Message schema

  • Apply settlement results to the ticket in DB, update player balance accordingly.

  • Every message has ticket level settlementTime, that shows at what time settlement happened. Normally messages are pushed to feed 0.5-2 seconds after settlement happens.

  • Multiple settlement messages can be sent for one ticket. If settlementTime of ticket received in message is smaller than previously received in settlement message for this ticket, message should be ignored and no changes should be made. Especially important during reconnect/recovery to prevent resettlements of tickets.

  • Reconnection should be automatically handled by integration. Automatic Reconnection should happen with correct revision.

  • revision is a UNIX timestamp seconds. In case of reconnection it should have a timestamp of 1 minute before the last settlement message received. Duplicated messages expected and should be ignored. Maximum recovery period is 3 days.

  • There are endpoints that can be used to get the latest result/status of specific tickets. We recommend implementing these endpoints in your backend/backoffice to get results manually if needed.

  • Settlement of tickets, without interaction with Odds88 endpoints should be possible from your backoffice in case it is not possible to do it any other way.

Last updated