Skip to content

查询活动玩家 ​

描述

查询某个活动下获得免费次数的玩家,以及每个玩家的使用情况。

请求方式 ​

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

请求参数 ​

NameTypeRequiredDescription
Sign ParamsYApi 接入规范
activity_idstringY活动 ID
player_idarrayN要查询的玩家 ID,为空则查询全部玩家
offsetintN分页偏移量,默认 0
limitintN每页条数,默认 20,最大 200

返回参数 ​

NameTypeRequiredDescription
codeintY0 表示成功
msgstringY对应 code 的错误描述
totalintY符合条件的玩家总数
listarrayY玩家列表
list[].player_idstringY玩家 ID
list[].currencystringY币种
list[].bet_countintY玩家已使用的免费投注次数
list[].bet_amountstringY玩家免费投注累计投注金额
list[].reward_amountstringY玩家免费投注累计派奖金额
list[].total_receiveintY玩家累计获得的免费次数
list[].receive_timeintY获得免费次数的时间,秒级 Unix 时间戳
list[].expired_timeintY免费次数过期时间,秒级 Unix 时间戳
list[].unused_amountintY免费次数未使用数量
list[].revokedintY已撤销的免费次数

请求示例 ​

Http Request
    Post Method
    URL : {Api_Address}/merchant/activity/player_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":[{"player_id":"p456","currency":"PHP","bet_count":3,"bet_amount":"0.6","reward_amount":"1.5","total_receive":5,"receive_time":1750377600,"expired_time":1750895999,"unused_amount":2,"revoked":0}]}