total_profit_or_loss.md 1.6 KB

Get Transactions By Pay Time

Description

This function allows operators to retrieve transaction records based on "settled date". Each API call can return a maximum of 1000 records (sorted by increasing time).

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 |Use a comma "," as a delimiter to pass in the user accounts to be queried (each account should be at least 6 characters long). If it is 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 and query within a maximum interval of 24 hours (GMT+8), e.g., 1517265756000|

Example

  • URL:
  • 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 bets placed by the player| | userallwin | string | Total winnings for the player |

## Success Result

{
    "status": "1",
    "userallbet": "4.8712",
    "userallwin": "3.6034"
}

## Failed Result

{
"status": 1003
}