cancel callback is sent when a player’s bet fails to complete — due to network issues, timeouts, or system errors. Your server must refund the full bet amount back to the player’s balance to ensure account accuracy. This operation is idempotent — if your wallet receives more than one request with the same transactionId, you must register the refund only once.
- URL: Your configured Callback URL
- Method: POST
- Headers:
X-Request-Signature,Content-Type,Accept
Request parameters
Always
"cancel" for this callback type.Unique reference of this cancel 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.
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 refund is applied.
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_TRANSACTION_DOES_NOT_EXIST | The referenced bet transaction does not exist in your system |
ERR_TRANSACTION_ROLLED_BACK | The referenced transaction has already been reversed |
ERR_INTEGRITY_CHECK_FAILED | Message integrity check failed |
ERR_UNKNOWN | Internal server error |
