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

* Existing rule: Any transaction between 100 USD to 500 USD and Specific Merchant Category Code (Merchant Type - 7622) goes to Credit Funding account.
* Updated rule:
  * Update request to change the merchant category code to - 7644.
  * Any transaction between 100 USD to 500 USD and Specific Merchant Category Code (Merchant Type - 7644) 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": "5XXXXXXXXX1111",
  "accountIndicator": "PRIMARY_ACCOUNT_NUMBER",
  "accountLevelManagement": {
    "accountIdentifierStatus": "A",
    "productRules": [
      {
        "productRuleId": "94031e99-8d47-4caa-bffd-fd0bdcafd74f",
        "productRuleStatus": "A",
        "amountTransactionLow": "100",
        "amountTransactionHigh": "500",
        "currencyCodeTransaction": "840",
        "merchantType": "7644",
        "secondaryPan": {
          "pan": "5XXXXXXXXX2222",
          "panExpirationDate": "1231",
          "panStatus": "A"
        }
      }
    ]
  }
}
```

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

* `requestId`: "request6"

* JSON

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

