Update an existing rule.
<b>Authorization</b>: End user or Merchant token is required.
<b>User permissions required</b>: CanEditRules
Request
- Base URL: https://api.nofrixion.com
- URL: https://api.nofrixion.com/api/v1/rules/{id}
- Auth: API key in header Authorization
Path parameters
The ID of the rule to update.
Request body
Account ID the rule is associated with.
A name to succinctly describe the rule.
Arbitrary description for the rule.
Optional URL to receive an HTTP request with the rule details when the rule status changes to approved. The webhook payload will contain the full Rule object.
Optional URL to receive an HTTP request when a rule execution attempt fails. The webhook payload will contain a NoFrixionPorblem object.
Optional URL to receive an HTTP request when a rule execution attempt succeeds. The webhook payload will contain a ?.
If set to false the rule will be disabled from executing.
Set to true if the rule execution should be triggered when the account receives a pay in (credit).
If the rule should be executed on a recurring schedule this is the expression that sets the schedule. The expression uses a CRON format.
If the rule should be executed on a recurring schedule this is the timezone
Optional start time for rule executions. If this value is set the rule will not be triggered until the start time has been reached.
Optional end time for rule executions. If this value is set the rule will not be triggered after the end time has been reached.
If set this secret will be used to sign Web Hook requests.
Response
The updated rule.
The ID of the merchant that owns the account.
If set this property holds the URL an approver needs to visit in order to complete a strong authentication check in order to approve the rule.
Optional URL to receive an HTTP request with the rule details when the rule status changes to approved. The webhook payload will contain the full Rule object.
Optional URL to receive an HTTP request when a rule execution attempt fails. The webhook payload will contain a Problem object.
Optional URL to receive an HTTP request when a rule execution attempt succeeds. The webhook payload will contain a list of any payouts that were submitted for the rule execution.
If set this secret will be used to sign Web Hook requests.
The most recent transaction date when the rule was last run.
The number of authorisers required for this rule.
The number of distinct authorisers that have authorised the rule.
True if the rule can be authorised by the user who loaded it.
True if the current user has authorised.
A list of authentication types allowed to authorise the payout.
Changes
No recorded changes to this endpoint across all 2 revisions of this API.