# Restore Risk Control Original Values source: https://developer.mastercard.com/mastercard-processing-fraud/documentation/sandbox-testing/restore-risk-control-orig-values/index.md ## Test case -- Success {#test-case--success} This test case describes restoring the original values of 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/original-values` ```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 restore the original values of 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/original-values` ```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 } ] } } ```