Modify risk score blocklist rules

Request

Modifies risk score blocklist rules.

Security
SecretApiKey or JWT
Bodyapplication/jsonrequired

Risk score blocklist rules.

permanentlyBlockListobject or null(RiskScoreBlocklistPermanentRules)

Items permanently blocklisted when TTL is equal to 0.

temporaryBlockListobject or null(RiskScoreBlocklistTemporaryRules)

Items temporarily blocklisted when TTL is greater than 0.

curl -i -X PUT \
  https://www.rebilly.com/_mock/catalog/all/risk-score-rules/blocklists \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "permanentlyBlockList": {
      "address": {
        "riskScoreThreshold": 1
      },
      "bankAccount": {
        "riskScoreThreshold": 1
      },
      "bin": {
        "riskScoreThreshold": 1
      },
      "country": {
        "riskScoreThreshold": 1
      },
      "customerId": {
        "riskScoreThreshold": 1
      },
      "email": {
        "riskScoreThreshold": 1
      },
      "emailDomain": {
        "riskScoreThreshold": 1
      },
      "fingerprint": {
        "riskScoreThreshold": 1
      },
      "ipAddress": {
        "riskScoreThreshold": 1
      },
      "paymentCard": {
        "riskScoreThreshold": 1
      }
    },
    "temporaryBlockList": {
      "address": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "bankAccount": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "bin": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "country": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "customerId": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "email": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "emailDomain": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "fingerprint": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "ipAddress": {
        "riskScoreThreshold": 1,
        "ttl": 1
      },
      "paymentCard": {
        "riskScoreThreshold": 1,
        "ttl": 1
      }
    }
  }'

Responses

Risk score blocklist rules set.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Bodyapplication/json
permanentlyBlockListobject or null(RiskScoreBlocklistPermanentRules)

Items permanently blocklisted when TTL is equal to 0.

temporaryBlockListobject or null(RiskScoreBlocklistTemporaryRules)

Items temporarily blocklisted when TTL is greater than 0.

Response
{ "permanentlyBlockList": { "address": {}, "bankAccount": {}, "bin": {}, "country": {}, "customerId": {}, "email": {}, "emailDomain": {}, "fingerprint": {}, "ipAddress": {}, "paymentCard": {} }, "temporaryBlockList": { "address": {}, "bankAccount": {}, "bin": {}, "country": {}, "customerId": {}, "email": {}, "emailDomain": {}, "fingerprint": {}, "ipAddress": {}, "paymentCard": {} } }