# Modify the current rule by setting a new amount
source: https://developer.mastercard.com/account-catalog-services/documentation/testing/pan-registration-bau/mastercard-one-cred-testing/8-update-amt-rule/index.md

* Existing rule: Any transaction between 300 USD to 1000 USD goes to Credit Funding account.
* Updated rule:
  * Update request to change the amount from 100 USD to 2000 USD.
  * Any transaction between 100 USD to 2000 USD goes to Credit Funding account.

### Endpoint - PUT {#endpoint---put}

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/asc/acs-api/account-registrations
```

```Production
https://api.mastercard.com/asc/acs-api/account-registrations
```

### Account Catalog Services API Request {#account-catalog-services-api-request}

* `requestId`: "request6"
* authorization: "reqKey"

* JSON

```JSON
{
  "accountIdentifier": "5XXXXXXXXXXX1111",
  "accountIndicator": "PRIMARY_ACCOUNT_NUMBER",
  "accountLevelManagement": {
    "accountIdentifierStatus": "A",
    "productRules": [
      {
        "productRuleId": "94031e99-8d47-4caa-bffd-fd0bdcafd74f",
        "productRuleStatus": "A",
        "amountTransactionLow": "100",
        "amountTransactionHigh": "2000",
        "currencyCodeTransaction": "840",
        "secondaryPan": {
          "pan": "5XXXXXXXXXX2222",
          "panExpirationDate": "1231",
          "panStatus": "A"
        }
      }
    ]
  }
}
```

### Account Catalog Services API Response {#account-catalog-services-api-response}

* `requestId`: "request6"

* JSON

```JSON
{
  "accountIdentifier": "5XXXXXXXXXXX1111",
  "accountIndicator": "PRIMARY_ACCOUNT_NUMBER",
  "accountLevelManagement": {
    "accountIdentifierStatus": "A",
    "productRules": [
      {
        "productRuleStatus": "A",
        "productRuleId": "94031e99-8d47-4caa-bffd-fd0bdcafd74f",
        "amountTransactionLow": "100",
        "amountTransactionHigh": "2000",
        "currencyCodeTransaction": "840",
        "secondaryPan": {
          "pan": "5XXXXXXXXXX2222",
          "panExpirationDate": "1231",
          "panStatus": "A"
        },
        "responseIndicator": "ACCEPTED",
        "responseType": "FINAL",
        "almServiceCode": "50000",
        "almServiceProductCode": "MDS",
        "almServiceProductClass": "XXX",
        "almServiceRateType": "XXX",
        "serviceClassificationCodes": []
      }
    ]
  }
}
```

