#输单结算通知
输单已结算通知功能通过 RabbitMQ 发送有关状态为 LOST 的注单的实时通知。
#队列名称
队列名称遵循模式 {identity_prefix}.settled_loss.q。有关您的环境使用的确切队列名称,请参阅队列列表。
队列名称示例:staging.10102.merchant102_server.settled_loss.q
#事件数据(有效负载)
#票务信息事件
{
"userId": "string", // User ID
"username": "string", // Username
"userType": "string", // Account type (e.g., AGENT, TRIAL)
"ticketId": "string", // Ticket ID
"gameCategory": "CASINO", // Game category
"gameType": "string", // Game type (e.g., BCR)
"tableId": "string", // Table ID
"roundId": "string", // Round ID
"ccy": "string", // Currency (e.g., PHP)
"status": "string", // Ticket status
"betTime": "long", // Bet time (timestamp in milliseconds)
"betItems": "string", // Bet details (JSON string)
"totalBet": "decimal", // Total bet amount
"totalPayout": "decimal", // Total payout amount
"createdAt": "long", // Created time (timestamp in milliseconds)
"updatedAt": "long" // Updated time (timestamp in milliseconds)
}
对于status,请参阅投注/注单状态。对于 BCR betItems[].betType 值,请参阅投注类型。
#示例数据
{
"userId": "66c93b85205a1e146ed79b9b",
"username": "player001",
"userType": "AGENT",
"ticketId": "550e8400-e29b-41d4-a716-446655440000",
"gameCategory": "CASINO",
"gameType": "BCR",
"tableId": "BCR_MB553",
"roundId": "BCR_MB553-250908-1550",
"ccy": "PHP",
"status": "LOST",
"betTime": 1702656000000,
"betItems": "[{\"betType\":\"LIVE_BCR_PLAYER\",\"betAmt\":100000,\"payoutAmt\":0,\"wonAmt\":0}]",
"totalBet": 100000.00,
"totalPayout": 0.00,
"createdAt": 1702656000000,
"updatedAt": 1702656300000
}