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 triggerREVIEW, 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 → ABANK_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
List Rules
Retrieve all rules including CBN built-ins and custom rules. Query Parameters
Example Request
Get Rule Detail
Retrieve the full configuration of a single rule. Path Parameters
Example Request
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
Activate Rule
Enable a drafted or paused custom rule. Path Parameters
Example Request
Pause Rule
Temporarily disable an active rule without deleting it. Path Parameters
Example Request
Delete Rule
Permanently remove a custom rule. This action cannot be undone. Path Parameters
Example Request