Skip to content

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 ​

ItemNameSample
PathPath{Api_Address}/merchant/activity/player_revoke
Request MethodPOST

Request Parameters ​

NameTypeRequiredDescription
Sign ParamsYView details
request_idstringNOptional, not used by the server
activity_idstringYActivity ID
player_idstringYPlayer ID
revoke_allboolNtrue revokes all remaining free rounds
revoke_countintNNumber of free rounds to revoke. If larger than the remaining rounds, all are revoked

Return Parameters ​

NameTypeRequiredDescription
codeintY0 means success
msgstringYError description for the code
revokedintYNumber 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}