Update AML settings

Request

Updates AML settings.

Security
SecretApiKey or JWT
Bodyapplication/jsonrequired

Settings for AML searches.

Settings for AML checking.

confidenceobject

Confidence level settings for AML matches.

priorityobject

Priority level settings for AML source matches.
p0 is critical priority level, and p3 is low priority level.

curl -i -X PUT \
  https://www.rebilly.com/_mock/catalog/all/aml-settings \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "confidence": {
      "dob": {
        "exactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        },
        "inexactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        }
      },
      "noDob": {
        "exactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        },
        "inexactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        },
        "weakMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        }
      },
      "yob": {
        "exactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        },
        "inexactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        }
      },
      "inexactYob": {
        "exactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        },
        "inexactMatch": {
          "addressMatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "addressMismatch": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          },
          "noAddress": {
            "matchingCountry": "weak",
            "mismatchingCountry": "weak",
            "noCountry": "weak"
          }
        }
      }
    },
    "priority": {
      "pep": {
        "veryStrong": "p0",
        "strong": "p0",
        "medium": "p0",
        "weak": "p0"
      },
      "enforcements": {
        "veryStrong": "p0",
        "strong": "p0",
        "medium": "p0",
        "weak": "p0"
      },
      "stateOwnedEnterprise": {
        "veryStrong": "p0",
        "strong": "p0",
        "medium": "p0",
        "weak": "p0"
      },
      "sanctions": {
        "veryStrong": "p0",
        "strong": "p0",
        "medium": "p0",
        "weak": "p0"
      },
      "adverseMedia": {
        "veryStrong": "p0",
        "strong": "p0",
        "medium": "p0",
        "weak": "p0"
      }
    }
  }'

Responses

AML settings updated.

Headers
Rate-Limit-Limitinteger

Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.

Example:500
Rate-Limit-Remaininginteger

Number of requests still available for this rate limit. For more information, see Rate limits.

Example:499
Bodyapplication/json

Settings for AML checking.

confidenceobject

Confidence level settings for AML matches.

priorityobject

Priority level settings for AML source matches.
p0 is critical priority level, and p3 is low priority level.

Response
{ "confidence": { "dob": { … }, "noDob": { … }, "yob": { … }, "inexactYob": { … } }, "priority": { "pep": { … }, "enforcements": { … }, "stateOwnedEnterprise": { … }, "sanctions": { … }, "adverseMedia": { … } } }