Skip to content

Usage List ​

INFO

GMP deducts the free rounds and records each usage by itself, no merchant callback is needed. Use this API to read the usage records, and round_id to reconcile with your own records.

Request Method ​

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

Request Parameters ​

NameTypeRequiredDescription
Sign ParamsYView details
activity_idstringNFilter by activity ID
player_idstringNFilter by player ID
offsetintNPaging offset, default 0
limitintNPage size, default 20, maximum 200

Return Parameters ​

NameTypeRequiredDescription
codeintY0 means success
msgstringYError description for the code
totalintYTotal number of matching records
listarrayYUsage records
list[].activity_idstringYActivity ID
list[].player_idstringYPlayer ID
list[].game_idstringYGame ID
list[].use_timeintYTime of use, Unix seconds
list[].used_timesintYFree rounds used by this record
list[].remaining_timesintYFree rounds the player has left after this use
list[].bet_amountstringYBet amount of this free round
list[].reward_amountstringYPayout of this free round, 0 means no win
list[].bet_modestringYAlways free
list[].round_idstringYGame round ID, used for reconciliation

Sample ​

Http Request
    Post Method
    URL : {Api_Address}/merchant/activity/usage_list?mid=1697028447&sign=...&ts=1713768205
    Content-Type:application/json
    {"activity_id":"act_freebet456789","player_id":"p456","offset":0,"limit":20}

Http Response(success)
    {"code":0,"msg":"","total":1,"list":[{"activity_id":"act_freebet456789","player_id":"p456","game_id":"10000","use_time":1750415400,"used_times":1,"remaining_times":4,"bet_amount":"0.2","reward_amount":"1.5","bet_mode":"free","round_id":"1797709382289"}]}