Skip to content

Creates screening rules for connected provider of the given domain

Request

Security
httpAuth
Path
domainIdstring, (uuid)required
providerstringrequired
Enum:"ELLIPTIC""CHAINALYSIS"
Bodyapplication/jsonrequired
rulesArray of objectsrequired
curl -i -X POST \
  'https://docs.ripple.com/_mock/products/custody/devbox/v1/domains/{domainId}/compliance/providers/{provider}/screening-rules' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "rules": [
      {
        "transactionType": "INCOMING",
        "lowRisk": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        },
        "highRisk": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        },
        "mediumRisk": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        },
        "severeRisk": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        },
        "unknownRisk": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        },
        "unknownCategory": {
          "condition": "EQUALS",
          "threshold": 0,
          "action": "APPROVE"
        }
      }
    ]
  }'

Responses

OK

Response
No content