putDecisionRulesId
Update a Decision Rule that makes a Decision apply only in certain circumstances, for example, applying an administration charge if a payment is under $50.
In: header
Path Parameters
The ID of this resource and The Decision Rule ID.
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
Update Decision Rule Request
Update Decision Rule Request
The identifier of the Decision that this Decision Rule applies.
The name of this Decision Rule. This field is stored as a text string and must be between 0 and 100 characters long.
Description of the Decision Rules.
The type of logic to apply with this Decision Rule.
less- Less.equal- Equal.notEqual- Not Equal.greater- Greater.swiped- Swiped.signed- Signed.type- Type.origin- Origin.method- Method.cvvResult- CVV Result.avsResult- AVS Result.3dsResult- 3DS Result. The Decision applies based on the results of a 3DS check.related- Related.relatedDelay- Related Delay.relatedFloor- Related Floor.relatedCeil- Related Ceil.mcc- MCC.merchantCountry- Merchant Country.issuerCountry- Issuer Country.international- International.platform- Platform.methodType- Method Type.emv- EMV.misuse- Misuse.bin- BIN.primary- Primary.fundingCurrencyEqual- Funding Currency Equal.fundingCurrencyNotEqual- Funding Currency Not Equal.fundingCurrencyMismatch- Funding Currency Mismatch.settledCurrencyMismatch- Settled Currency Mismatch.imported- Imported.subscription- Subscription.publicAuth- Public Auth.clientIp- Client IP.debtRepayment- Debt Repayment.cofType- COF Type.entryMode- Entry Mode.
Value in
- "less"
- "equal"
- "notEqual"
- "greater"
- "swiped"
- "signed"
- "type"
- "origin"
- "method"
- "cvvResult"
- "avsResult"
- "3dsResult"
- "related"
- "relatedDelay"
- "relatedFloor"
- "relatedCeil"
- "mcc"
- "merchantCountry"
- "issuerCountry"
- "international"
- "platform"
- "methodType"
- "emv"
- "misuse"
- "bin"
- "primary"
- "fundingCurrencyEqual"
- "fundingCurrencyNotEqual"
- "fundingCurrencyMismatch"
- "settledCurrencyMismatch"
- "imported"
- "subscription"
- "publicAuth"
- "clientIp"
- "debtRepayment"
- "cofType"
- "entryMode"
The value to compare against when evaluating this Decision Rule.
A name for a group of rules to be applied in conjunction when evaluating this Decision Rule; When grouping is used, the Decision will be allowed to be processed if at least one of the rules are matched.
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 PUT "https://example.com/decisionRules/t1_drl_67d9836cb20781126c769f0" \ -H "Content-Type: application/json" \ -d '{ "decision": "t1_dcs_67d97ed1a0fc6848c89d537", "name": "DecisionRule11", "description": "Rule Description", "type": "type", "value": 8, "grouping": "portalgroup_2", "inactive": 0, "frozen": 0 }'{ "response": { "data": [ { "id": "t1_drl_67d9836cb20781126c769f0", "created": "2025-03-18 10:30:04.7380", "modified": "2025-03-18 10:30:04.7380", "creator": "t1_log_5ade08dbe7c74ccfa14e832", "modifier": "t1_log_5ade08dbe7c74ccfa14e832", "decision": "t1_dcs_67d97ed1a0fc6848c89d537", "name": "DecisionRule11", "description": "Rule Description", "type": "type", "value": 8, "grouping": "portalgroup_2", "inactive": 0, "frozen": 0 } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteDecisionRulesId DELETE
Delete a Decision Rule that makes a Decision apply only in certain circumstances, for example, applying an administration charge if a payment is under $50.
getDecisionRules GET
Query a Decision Rule; A Decision Rule is a piece of conditional logic that makes a Decision apply only in certain circumstances, For example, a Decision Rule could apply an administration charge if a payment is under $50.
