Skip to content

Bet Event

This event will be triggered once the player places a bet.

Method: POST

Callback URL: Your Callback URL

Header

{
"Content-Type": "application/json",
"Callback-URL": "Your Callback URL",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"transaction_id": "2_sandboxagent01_1763107598923_1922",
"event_type": "bet",
"timestamp": 1763107599,
"feedback_data": "TEST_FEEDBACK_DATA",
"user_id": "edwincalma",
"data": {
"currency": "KRW",
"game_type": "BAC",
"table_no": "DH002",
"game_no": "DH0022511141328",
"total_bet_amount": 5000,
"bets": [
{
"bet_index": "10404",
"bet_type": "P",
"bet_amount": 5000
}
]
}
}

HTTP Status: 200

Header

{
"Content-Type": "application/json",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"code": "R0", // Required, String
"event_type": "bet", // Required, String
"timestamp": 1763107509, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 1000000 // REQUIRED, Number
}

  • Success Processing = "R0"
  • Failed Processing = "R1"
  • Unauthorized Request = "R2"
  • Validation Failed = "R3"
  • Not Enough Balance = "R4"

HTTP Status: 200 Header

{
"Content-Type": "application/json",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"code": "R4", // Required, String
"event_type": "bet", // Required, String
"timestamp": 1763107509, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 1111000 // OPTIONAL, Number
}