Skip to main content

Overview

Custom rules allow your institution to define institution-specific detection logic beyond the 9 mandatory CBN rules. Rules are evaluated during transaction screening and can trigger REVIEW, ESCALATE, or BLOCK outcomes.

Common Workflows

New rule rollout: A compliance officer drafts a rule → Tests it against historical transactions → Activates it → Monitors false positive rate → Tunes thresholds. Emergency pause: A rule starts generating too many false positives during a holiday period → A BANK_ADMIN immediately pauses the rule → Investigates and updates thresholds → Re-activates.

Permissions

Rule Statuses

Endpoints

Note: CBN mandatory rules (ruleType: "CBN_BUILTIN") cannot be edited, paused, or deleted. They appear in listings for reference.

Create Rule

Define a new custom detection rule with conditions, logic, and actions. Request Body Configuration Object Condition Object Example Request
Example Response -201 Created

List Rules

Retrieve all rules including CBN built-ins and custom rules. Query Parameters Example Request
Example Response -200 OK

Get Rule Detail

Retrieve the full configuration of a single rule. Path Parameters Example Request
Example Response -200 OK

Update Rule

Modify an existing custom rule. CBN built-ins cannot be updated. Path Parameters Request Body All fields optional. Same structure as Create Rule. Example Request
Example Response -200 OK
Updating an active rule does not automatically pause it. Consider pausing first if the change significantly alters detection logic.

Activate Rule

Enable a drafted or paused custom rule. Path Parameters Example Request
Example Response -200 OK

Pause Rule

Temporarily disable an active rule without deleting it. Path Parameters Example Request
Example Response -200 OK

Delete Rule

Permanently remove a custom rule. This action cannot be undone. Path Parameters Example Request
Example Response -200 OK
Deleting a rule removes it from all future screenings. Historical transactions screened by this rule retain their original verdicts.