Create a New Rule

Creates a new rule for processing payments.

Request

This endpoint expects an object.
namestringRequired
Name of the rule.
conditionslist of objectsRequired
actionslist of objectsRequired

Response

Rule created successfully.
idstring or null
Unique identifier for the rule.
namestring or null
Name of the rule.
conditionslist of objects or null
actionslist of objects or null
createdAtdatetime or nullDefaults to 1970-01-01T00:00:00.000Z
Timestamp when the rule was created.
updatedAtdatetime or nullDefaults to 1970-01-01T00:00:00.000Z
Timestamp when the rule was last updated.

Errors