Revoke Player Free Rounds
INFO
Revokes the unused free rounds of one player, for example when they were given by mistake. Rounds that were already used and the winnings already earned are not affected.
Request Method
| Item | Name | Sample |
|---|---|---|
| Path | Path | {Api_Address}/merchant/activity/player_revoke |
| Request Method | POST |
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | View details | |
| request_id | string | N | Optional, not used by the server |
| activity_id | string | Y | Activity ID |
| player_id | string | Y | Player ID |
| revoke_all | bool | N | true revokes all remaining free rounds |
| revoke_count | int | N | Number of free rounds to revoke. If larger than the remaining rounds, all are revoked |
Return Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| code | int | Y | 0 means success |
| msg | string | Y | Error description for the code |
| revoked | int | Y | Number of free rounds actually revoked |
Sample
Http Request
Post Method
URL : {Api_Address}/merchant/activity/player_revoke?mid=1697028447&sign=...&ts=1713768205
Content-Type:application/json
{"activity_id":"act_freebet456789","player_id":"p456","revoke_count":2}
Http Response(success)
{"code":0,"msg":"","revoked":2}