win callback is sent when a player wins a round. Your server must credit the win amount to 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
"win" 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.
Win amount to credit to the player’s balance.
Indicates whether the round is complete after this win. If
true, no further win callbacks will be sent for this round. If false, additional win callbacks may follow.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 win amount is credited.
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_INTEGRITY_CHECK_FAILED | Message integrity check failed |
ERR_NOT_AUTHENTICATED | The player is not authenticated |
ERR_UNKNOWN | Internal server error |
