# Player Deposits

This view allows you to get the list of player deposits created in a given time range, filter them by status, and manage them.

Depending on the status of a deposit there are certain actions that you can do.
The buttons to carry out such actions appear in the action column.
To better understand what these actions are and how they are related to the current status of a deposit you are advised to read Closing of deposits.

What follows is an explanation of the actions available depending on the status of a deposit in the list:

  • ACTIVE : if you are eligible of requesting to close the deposit the action column will show a CLOSE button.
    Clicking on it will do a transaction that requests the Smart Contract to close the deposit. If successful you will be the first party to request the closing of the deposit and the Smart Contract will allow a grace period for the player to submit a counter close request. If the grace period elapses and the player hasn't submitted the close request you are elegible to finalize the closing of the deposit. In this case the action column shows a FINALIZE button. Clicking on it does a transaction that requests the Smart Contract to finalize the closing of the deposit.
    Please note that you should be the first party to request the closing of a deposit only if you really intend to do so. As soon as the transaction that requests the Smart Contract to close a deposit is mined the player can no longer play games with that deposit.
    Still, you may want to close a deposit that is in a losing state in order to collect your profit. In order not to annoy the player you may decide to wait until he has finished playing games (to know this look for the value in the last played column)
  • WITHDRAWAL REQUESTED : these are deposits that the player has requested to close. The Smart Contract is waiting for you to submit your counter close request within the grace period. The action column shows a CLOSE button. Clicking on it will do a transaction to submit the counter close request to the Smart Contract, finalizing the closing of the deposit.
    You normally don't need to use this action and send the counter close request yourself. DeBets server has a scheduler that detects player deposits that are in this state and takes care of submitting the counter close request on your behalf.
  • CLOSED BY YOU : you are the first party that has requested to close the deposit. If the grace period has elapsed then you are eligible to request the Smart Contract to finalize the closing and in this case a FINALIZE button is shown in the action column. Clicking on it does a transaction that finalizes the closing of the deposit.
  • PAYMENT DUE : if your gaming account balance is enough to pay for the amount due then the action column will show a PAY button. Clicking on it sends a transaction that results in the Smart Contract to transfer the amount due from your gaming account to the player address and close the deposit.
    You should not need to use the PAY button in order to pay deposits in PAYMENT DUE status: as soon as DeBets scheduler detects that you have deposited enough funds into your gaming account it will automatically use it to pay the deposits that are in this status.