bet callback is sent when a player places a bet. Your server must deduct the bet amount from the player’s balance and return the updated balance. This operation is idempotent — if your wallet receives more than one request with the same transactionId, you must register the transaction only once.
- URL: Your configured Callback URL
- Method: POST
- Headers:
X-Request-Signature,Content-Type,Accept
Request parameters
Always
"bet" for this callback type.Unique reference of the transaction created in iGamingAce. Use this to enforce idempotency.
Unique identifier of the player from your system.
Unique reference of the game round.
Unique identifier of the game provider in iGamingAce.
Unique game id of the game in iGamingAce.
Player currency code per ISO-4217 (e.g.,
EUR, USD).Bet amount to deduct from the player’s balance.
Indicates If player got the bonus or not.
0: no bonus, else the bonus id related
Unix timestamp of the request.
Response fields
Your server must respond with HTTP 200 and a JSON body containing the following fields:The player’s updated balance after the bet is deducted.
Result of the operation. Must be
"OK" on success. See the status codes table below for all possible values.Status codes
| Status code | Description |
|---|---|
OK | Request successful |
ERR_NOT_AUTHENTICATED | The player is not authenticated |
ERR_NOT_ENOUGH_MONEY | The player’s account has insufficient funds |
ERR_INTEGRITY_CHECK_FAILED | Message integrity check failed |
ERR_UNKNOWN | Internal server error |
