# Reset Risk Control Counters
source: https://developer.mastercard.com/mastercard-processing-fraud/documentation/sandbox-testing/reset-risk-control-counters/index.md

## Test case -- Success {#test-case--success}

This test case describes resetting counters for a specified risk control stored in the CMS.

For this test case, use the following information in the request:

|   Path parameter    |     Available value      |
|---------------------|--------------------------|
| `risk_control_code` | COUNTRY_VELOCITY_CONTROL |
|                     | ATM_FRENCH_USERS_RULE    |

|       Field       | Available value |
|-------------------|-----------------|
| `riskControlType` | Balance         |
|                   | Credit          |
|                   | Risk Rule       |

**Sample request**

`PUT /contracts/70001/risk-controls/COUNTRY_VELOCITY_CONTROL/resetting-counters`

```JSON
{
  "riskControlType": "Balance"
}
```

**Sample response**

`204`

## Test case -- Fail - Invalid Risk Control Code {#test-case--fail---invalid-risk-control-code}

This test case describes an attempt to reset counters for a specified risk control that does not exist in the CMS.

For this test case, use the following information in the request:

|   Path parameter    | Available value |
|---------------------|-----------------|
| `risk_control_code` | INVALID         |

|       Field       | Available value |
|-------------------|-----------------|
| `riskControlType` | Balance         |
|                   | Credit          |
|                   | Risk Rule       |
| `operation`       | ACTIVE          |
|                   | SUSPEND         |

**Sample request**

`PUT /contracts/70001/risk-controls/INVALID/resetting-counters`

```JSON
{
  "riskControlType": "Balance"
}
```

**Sample response**

`404`

```JSON
{
    "Errors": {
        "Error": [
            {
                "Source": "MASTERCARD PROCESSING",
                "ReasonCode": "RISK_CONTROL_CODE_DOES_NOT_EXIST",
                "Description": "Risk control code INVALID does not exist for contract with id 70001.",
                "Recoverable": false
            }
        ]
    }
}
```

