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.
POST
Create a new fraud rule
Autorizações
JWT bearer token issued by the identity provider.
Corpo
application/json
The body is of type file.
Resposta
Created
Exemplo:
"DENY"
Exemplo:
"2021-01-01T00:00:00Z"
Exemplo:
"transaction.amount > 1000 && account.type == 'checking'"
Maximum string length:
255Exemplo:
"Block high-value checking transactions"
Exemplo:
"00000000-0000-0000-0000-000000000000"
Exemplo:
"ACTIVE"
Exemplo:
"2021-01-01T00:00:00Z"
Exemplo:
"2021-01-01T00:00:00Z"
Exemplo:
"2021-01-01T00:00:00Z"
Exemplo:
"2021-01-01T00:00:00Z"
Exemplo:
"Denies transactions over $1000 from checking accounts"

