Merchant Game Records By User ID
INFO
Query game records by user ID for a specific merchant within a time range.
Request Limitation
- Requests with the same parameters are limited to once every 1 second.
- Only provide transaction results within 30 days.
Request Method
| Item | Name | Sample |
|---|---|---|
| Path | Path | {Api_Address}/merchant/game_records_by_uid |
| Request Method | POST |
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | View details | |
| start_time | int64 | Y | Start time (timestamp in seconds) |
| end_time | int64 | Y | End time (timestamp in seconds) |
| game_id | int64 | N | Game unique ID, query all games if empty |
| game_code | string | N | Game unique index, query all games if empty. If game_id is not empty, filter by game_id first |
| user_id | string | Y | User unique identifier |
| currency | string | N | Currency |
| page | object | Y | Pagination parameters |
| page.size | int64 | Y | Page size, default 1000, maximum 10000 |
| page.current | int64 | Y | Current page |
Return Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| code | int | Y | |
| msg | string | Y | Message for debug |
| data | object | Y | Body |
| data.record_list | array | Y | Game record list |
| data.record_list.record_id | string | Y | Record ID |
| data.record_list.user_id | string | Y | User ID |
| data.record_list.game_id | int64 | Y | Game ID |
| data.record_list.game_code | string | Y | Game code |
| data.record_list.bet_amount | string | Y | Bet amount |
| data.record_list.actual_bet_amount | string | Y | Actual bet amount |
| data.record_list.payout | string | Y | Payout amount |
| data.record_list.currency | string | Y | Currency |
| data.record_list.multiplier | string | Y | Multiplier |
| data.record_list.result | string | Y | Game result |
| data.record_list.start_time | int64 | Y | Start time (timestamp) |
| data.record_list.end_time | int64 | Y | End time (timestamp) |
| data.page | object | Y | Pagination information |