# Reset Account

The **Reset Account** feature allows traders to reset a funded trading account once, based on eligibility rules. It initiates a new account under the same subscription while disabling the old one, ensuring a clean start without  re-purchase.

This action is tightly integrated with WooCommerce and the trading platform. It is available both to traders (via the Trader Dashboard) and processed securely with backend validations.

## Trader-Side: How Reset Works

The **Reset Account** button appears at the top-right of the **Account Dashboard** (Trader side).

The reset button is only shown when:

* Account status is **not** one of the following:
  * **Pending**
  * **KYC Pending**
  * **Waiting Competition**
  * **Waiting Withdrawal**
  * **Upgrade Pending**
* The assigned trading program has **WooCommerce Reset** turned on.
* The account has **never been reset before**.

## WooCommerce Integration

When a trader clicks **Reset Account**:

* The system sends these data to the reset checkout URL:
  * `userId` (via cookies)
  * `accountId` (via cookies)
  * `productId` (via cookies)
* Redirect happens in the **same tab**
* Cookies expire after **30 minutes**

## Account Reset Requirements

Reset is **only available** for programs with **withdrawal function** turned off. This ensures no reset happens after payout.

When reset is confirmed:

* Original account status is updated to `Disabled` (removed)
* The account is **blocked on the trading platform**
  * Rithmic is `Inactive`
  * Other platforms are `No Trading`
* The account will be set as **reset before**
* A new account is created, and if the original has a subscription ID, it is passed to the new one

{% hint style="warning" %}
**Important Notes**

* Each account can only be reset **once**
* Administrators will no longer see reset-eligible accounts as active - clearly separating them from new accounts
* Reset flow only works with **supported WooCommerce checkout products** configured by the Dashboard team
  {% endhint %}
