Create a New Rule
Creates a new rule for processing payments.
Request
This endpoint expects an object.
merchantId
Merchant identifier.
name
Name of the rule.
priority
Rule priority.
isActive
Whether the rule is active.
conditions
actions
Response
Rule created successfully.
id
Unique identifier for the rule.
name
Name of the rule.
merchantId
Merchant identifier.
priority
Rule priority (higher precedence evaluated first).
isActive
Whether the rule is active.
conditions
actions
createdAt
Timestamp when the rule was created.
updatedAt
Timestamp when the rule was last updated.