getDecisionRulesId
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.
In: header
Path Parameters
The ID of this resource and The Decision Rule ID.
Query Parameters
Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}
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.
Response Body
application/json
application/json
curl -X GET "https://example.com/decisionRules/t1_drl_67d9836cb20781126c769f0"{ "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": [] }}postDecisionActions POST
Create a Decision Action in conjunction with This resource, which is used to further tune the reactions based on conditions defined in the DecisionAction.
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.
