# Get Transactions By Pay Time ## Description > This function allows Operator to get transactions based on settlement time. Return 2000 records at most per API Call (order ascending) > Request method:( Host-> BeSoft):post > Encoding method:application/x-www-form-urlencoded > Besoft The response data format is: application/json ## Method URL ``` {besoftapi}/api/game/getalllosewin ``` ## Request Parameters | Name | Type | Required |Description| |:--------:|:-----:|:--------:|:--------:| | cert | string | Y |security code | | extension1 | string | Y |Agent Id | | user | String(600) | Y |If usernames are provided as input with "," as the delimiter (each username must be at least 6 characters long), or if empty, query all accounts under the agent's name.| | st | Long | Y |Set the start time and query within a maximum interval of 24 hours (GMT+8), e.g., 1517265756000.| | et | Long | Y |Set the end time, with a maximum query interval of 24 hours (GMT+8), e.g., 1517265756000.| ## Example - URL: - http://127.0.0.1:8000/api/game/getalllosewin - HTTP Method - POST - Form Data > Content-Type: application/x-www-form-urlencoded ``` cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y extension1:adminweb user:test1 st:1700122818110 et:1700123037718 ``` ## Return Result | Name | Type | Description | |:--------:|:-----:|:--------:| | status | string | status code | | userallbet | string | Total player bets| | userallwin | string | Total player winnings | ## Success Result ``` {     "status": "1",     "userallbet": "4.87",     "userallwin": "3.60" } ``` ## Failed Result ``` { "status": 1003 } ```