Purchase
Information on how Lottery Operators can send Purchase events.
REST API
RabbitMQ Connector
Kafka Connector
⬆️ POST /v2/integration/lottery [Bet]
RabbitMQ Message Properties
key | value |
---|---|
key | value |
type | LOTTERY_V2 |
The type is expected as a property (but not in the payload) of the RabbitMQ Message. Any header will be ignored.
Kafka Message Headers
key | value |
---|---|
key | value |
type | LOTTERY_V2 |
The lottery v2 endpoints take in more parameters in the post body and they do first take a bet request and after a settlement request.
Sample Request for a Bet Update