Skip to content

Cancel Activity ​

INFO

Cancels an activity that has not started or is in progress. A cancelled activity cannot be enabled again.

Request Method ​

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

Request Parameters ​

NameTypeRequiredDescription
Sign ParamsYView details
request_idstringNOptional, not used by the server. Cancelling an already cancelled activity changes nothing
activity_idstringYActivity ID
revoke_unusedboolNtrue also revokes free rounds that were given but not yet used

Return Parameters ​

NameTypeRequiredDescription
codeintY0 means success
msgstringYError description for the code

Sample ​

Http Request
    Post Method
    URL : {Api_Address}/merchant/activity/cancel?mid=1697028447&sign=...&ts=1713768205
    Content-Type:application/json
    {"activity_id":"act_freebet456789","revoke_unused":true}

Http Response(success)
    {"code":0,"msg":""}