Bet Cancel/Rollback Callback
Provider notifies VCT platform to cancel or rollback a previous bet.
Note
This API is called by the game provider to cancel or rollback previous bet operations.
Endpoint
| Property | Value |
|---|---|
| Path | POST /api/v1/callback/cancel |
| Caller | Game Provider → VCT Platform |
Request Parameters (from Provider)
| Parameter | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Provider identifier |
username | string | Yes | Player username |
amount | decimal | Yes | Refund amount (positive) |
transaction_id | string | Yes | Unique transaction ID |
original_transaction_id | string | Yes | Original bet transaction ID |
round_id | string | No | Game round ID |
reason | string | No | Cancellation reason |
sign | string | Yes | Signature |
timestamp | long | Yes | Timestamp |
Response Fields
| Field | Type | Description |
|---|---|---|
balance | decimal | Balance after refund |
transaction_id | string | Transaction ID |
status | string | Processing status |
Provider Source Mapping
| Provider | Callback Path | Request Format |
|---|---|---|
| BG | — | Cancel callback not supported |
| GSC | — | Cancel callback not supported (handled via deposit reversal) |
| SA | PlaceBetCancel | Encrypted body |
| WM | timeoutBetReturn | form-data, timeout bet rollback |