postDecisionActions
Create a Decision Action in conjunction with This resource, which is used to further tune the reactions based on conditions defined in the DecisionAction.
In: header
Header Parameters
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.
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
Create Decision Action Request
Create Decision Action Request
The identifier of the Decision to which this resource applies
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
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"
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"
The type of DecisionAction.
equal- Equal.notEqual- Not Equal.contains- Contains.greater- Greater.less- Less.
Value in
- "equal"
- "notEqual"
- "contains"
- "greater"
- "less"
The result field to check.
The score to check.
The decisionAction data will be matched with verificationReuslts data.
The decisionAction message will be matched with verificationReuslts message.
The decisionAction code will be matched with verificationReuslts code.
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.
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X POST "https://example.com/decisionActions" \ -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": [] }}getDecisionActions GET
Query a Decision Action, A Decision Action is a piece of conditional logic that makes a VerificationResult change the application and the decision action in certain circumstances.
getDecisionRulesId GET
Query a Decision Rule that makes a Decision apply only in certain circumstances, such as applying an administration charge if a payment is under $50.
