Decision Actions

putDecisionActionsId

PUT
/decisionActions/{id}

Update a Decision Action, which is a piece of conditional logic that makes a VerificationResult change the application and the decision action in certain circumstances.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource and The Decision Action ID.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Update Decision Action Request

Update Decision Action Request

decision?string

The identifier of the Decision to which this resource applies

action?descisionActionsAction

The action to take when this check fails.

  • 1 - Block txn, will never be processed. The Entity is sent to the manual review queue.
  • 3 - Hold txn, will not be captured.
  • 4 - Reserve txn, funds should be reserved.
  • 5 - Block current activity, no change for merchant.
  • 8 - We onboard the merchant and wait for manual check later.

Value in

  • 1
  • 3
  • 4
  • 5
  • 8
application?decisionActionsApplication

Where the action defined by this DecisionAction should apply.

  • account - Account type Decision.
  • txn - Txn type Decision.
  • entity - Entity type Decision.

Value in

  • "account"
  • "txn"
  • "entity"
scoreType?decisionActionsScoreType

The type of score result on the related Decision.

  • low - Only applies if the check hit the low of the parent decision.
  • high - Only applies if the check hit the high of the parent decision.
  • none - Only applies if the check did not hit the high or low of the parent decision.

Value in

  • "low"
  • "high"
  • "none"
type?decisionActionType

The type of DecisionAction.

  • equal - Equal.
  • notEqual - Not Equal.
  • contains - Contains.
  • greater - Greater.
  • less - Less.

Value in

  • "equal"
  • "notEqual"
  • "contains"
  • "greater"
  • "less"
field?string

The result field to check.

score?string

The score to check.

data?string

The decisionAction data will be matched with verificationReuslts data.

message?string

The decisionAction message will be matched with verificationReuslts message.

code?string

The decisionAction code will be matched with verificationReuslts code.

grouping?string

A name for a group of decisionActions to be applied in conjunction when evaluating this DecisionAction; when grouping is used, the DecisionActions will not apply unless they all match.

inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X PUT "https://example.com/decisionActions/t1_dca_67ddc0163f51a4ffd1ea3d0" \  -H "Content-Type: application/json" \  -d '{    "decision": "t1_dcs_67ddc0163a32ae0c5c33bfc",    "action": 1,    "application": "account",    "scoreType": "low",    "type": "less",    "field": "score",    "score": "20",    "data": "dummy@dummy.neoncrm.com",    "message": "Required",    "code": "I602",    "grouping": "bademail",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "p1_dca_67e284e38e9613fb4b69e6d",        "created": "2025-03-25 06:26:43.5877",        "modified": "2025-03-25 06:26:43.5877",        "creator": "t1_log_61e72ab44fd39df9483aa2c",        "modifier": "t1_log_61e72ab44fd39df9483aa2c",        "decision": "t1_dcs_67ddc0163a32ae0c5c33bfc",        "action": 1,        "application": "account",        "scoreType": "low",        "type": "less",        "field": "score",        "score": "20",        "data": "dummy@dummy.neoncrm.com",        "message": "Required",        "code": "I602",        "grouping": "bademail",        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}