Create a new fraud rule
Use this endpoint to create a fraud rule with a CEL expression and scopes array. Rules are always created in DRAFT status. Use the activate endpoint to start evaluation.
Authorizations
JWT bearer token issued by the identity provider.
Body
The body is of type file.
Response
Created
"DENY"
"2021-01-01T00:00:00Z"
"transaction.amount > 1000 && account.type == 'checking'"
255"Block high-value checking transactions"
"00000000-0000-0000-0000-000000000000"
"ACTIVE"
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"Denies transactions over $1000 from checking accounts"

