Skip to content

Bet Cancel Event

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

Method: POST

Header

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

Body

{
"transaction_id": "3_sandboxagent01_1763107692829_9301",
"event_type": "bet_cancel",
"timestamp": 1763107692,
"feedback_data": "TEST_FEEDBACK_DATA",
"user_id": "edwincalma",
"data": {
"currency": "KRW",
"game_type": "BAC",
"table_no": "DH002",
"game_no": "DH0022511141330",
"total_bet_cancel_amount": 5000,
"bet_cancels": [
{
"bet_index": "10405",
"bet_type": "P",
"bet_amount": 5000
}
]
}
}

Header

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

HTTP Status: 200 Body

{
"code": "R0", // Required, String
"event_type": "bet_cancel", // Required, String
"timestamp": 1763107693, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 100000 // REQUIRED
}

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

HTTP Status: 200

Header

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

Body

{
"code": "R3", // Required, String
"event_type": "bet_cancel", // Required, String
"timestamp": 1763107693, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 95000 // OPTIONAL
}

📌
For a comprehensive guide on how this works, please refer to the Common and Transfer Introduction or Seamless Introduction sections within the Introduction page.