Update Fraud Rule

View as Markdown
Update a fraud rule.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

rule_idstringRequired
account_idstringRequired

Request

This endpoint expects an object.
namestring or nullOptional<=255 characters
Rule name
logicenum or nullOptional

Condition logic: AND or OR

enabledboolean or nullOptional
Whether the rule is active
actionenum or nullOptional

Rule action: block or allow

transaction_scopeenum or nullOptional

Which transactions the rule applies to: ‘cit’, ‘mit’, or ‘all’.

reasonstring or nullOptional<=500 characters
Reason shown to the customer for block rules. Ignored for allow rules.
conditionslist of objects or nullOptional
List of conditions

Response

Successful Response
idstring
Unique rule identifier
namestring
Rule name
logicenum

Condition logic: AND or OR

enabledboolean
Whether the rule is active
actionenum

Rule action: block or allow

transaction_scopeenum

Which transactions the rule applies to: ‘cit’, ‘mit’, or ‘all’.

reasonstring
Block reason
conditionslist of objects
List of conditions
created_atdatetime
When the rule was created
updated_atdatetime
When the rule was last updated

Errors

422
Unprocessable Entity Error