按用户ID查询获取游戏记录
INFO
在指定时间范围内按用户ID查询特定商户的游戏记录。
请求限制
- 根据同一请求参数限制1秒内只能请求一次结果。
- 仅提供 30 天内的交易结果。
请求方法
| 项目 | 名称 | 示例 |
|---|---|---|
| 路径 | Path | {Api_Address}/merchant/game_records_by_uid |
| 请求方法 | POST |
请求参数
| 名称 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| 签名参数 | Y | 查看详情 | |
| start_time | int64 | Y | 开始时间,时间戳,精确到秒 |
| end_time | int64 | Y | 结束时间,时间戳,精确到秒 |
| game_id | int64 | N | 游戏的唯一Id,为空则查询全部游戏 |
| game_code | string | N | 游戏的唯一索引,为空则查询全部游戏,如果game_id不为空,优先通过game_id过滤 |
| user_id | string | Y | 用户唯一标识 |
| currency | string | N | 币种 |
| page | object | Y | 分页参数 |
| page.size | int64 | Y | 每页显示的大小,默认1000条,最大10000条 |
| page.current | int64 | Y | 当前页 |
返回参数
| 名称 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| code | int | Y | |
| msg | string | Y | 调试信息 |
| data | object | Y | 主体 |
| data.record_list | array | Y | 游戏记录列表 |
| data.record_list.record_id | string | Y | 记录ID |
| data.record_list.user_id | string | Y | 用户ID |
| data.record_list.game_id | int64 | Y | 游戏ID |
| data.record_list.game_code | string | Y | 游戏代码 |
| data.record_list.bet_amount | string | Y | 下注金额 |
| data.record_list.actual_bet_amount | string | Y | 实际下注金额 |
| data.record_list.payout | string | Y | 派彩金额 |
| data.record_list.currency | string | Y | 币种 |
| data.record_list.multiplier | string | Y | 倍率 |
| data.record_list.result | string | Y | 游戏结果 |
| data.record_list.start_time | int64 | Y | 开始时间(时间戳) |
| data.record_list.end_time | int64 | Y | 结束时间(时间戳) |
| data.page | object | Y | 分页信息 |