Authorization: Bearer {token}LOTTO_TICKETS_GET)LOTTO/g/lotto, so system maintenance and Lotto's own maintenance window both answer 503 99915.betID (capital ID), unlike roomId / roundId elsewhere in LOTTO.betID answers 404 99966 like an unknown one.status is the ticket status, upper-case WAITING / SETTLED, not the lower-case round status of my-bets / my-result.WAITING: round.number, items[].winAmount, summary.totalReturn and summary.netWin are absent, items[].result is WAITING, and rate / isLucky show what the line will settle at (current lucky number).SETTLED: result is WON / LOST, winAmount is the gross win (0 when lost) and totalReturn = netWin + totalAmount.WAITING (it was refunded).room.name is "" if the room no longer exists; items can be [] for a settled ticket whose result is unavailable.99911 with a description naming the field, e.g. betID is required.betID; check the session game.betID among the caller's tickets (demo or real).curl --location 'https://dev-api.ambfairgame.com/gapi/v1/gapi/v1/g/lotto/tickets/get?token=8d0c6a4e2b9f4f1c9a7e3b5d1c2e4f60' \
--header 'Authorization: Bearer 3f9a1c7e5b2d4f6081a3c5e7f9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7' \
--header 'Accept-Language: th' \
--header 'Content-Type: application/json' \
--data '{
"betID": "2_1001_tm64903fa91c2e_9f1c0b7a4d2e6f8a1b3c5d7e9f0a2b4c"
}'{
"code": "0",
"description": "Success.",
"traceID": "0f8e2c1a-6b3d-4e5f-9a7b-1c2d3e4f5a6b",
"data": {
"betID": "2_1001_tm64903fa91c2e_9f1c0b7a4d2e6f8a1b3c5d7e9f0a2b4c",
"status": "SETTLED",
"room": {
"roomId": 1,
"name": "ห้องหวย 1"
},
"round": {
"roundId": "tm64903fa91c2e",
"number": "482917"
},
"createdAt": "2026-09-30T08:07:31.482Z",
"items": [
{
"betType": "2-BOTTOM",
"number": "17",
"amount": 10,
"rate": 360,
"isLucky": true,
"result": "WON",
"winAmount": 3600
},
{
"betType": "3-TOAD",
"number": "358",
"amount": 5,
"rate": 150,
"isLucky": false,
"result": "LOST",
"winAmount": 0
},
{
"betType": "1-TOP",
"number": "9",
"amount": 20,
"rate": 3,
"isLucky": false,
"result": "WON",
"winAmount": 60
}
],
"summary": {
"totalAmount": 35,
"wonItems": 2,
"totalItems": 3,
"totalReturn": 3660,
"netWin": 3625
}
}
}