Page body
What this form does
This form creates or updates one shared automatic-withdrawal rule. It stores the qualification thresholds and restriction sets that decide whether a withdrawal can be processed automatically.
When to use it
- add a new shared rule
- adjust eligibility thresholds on an existing rule
- change methods, countries, or tag restrictions
- change whether the rule is active and where it sits in the priority order
Main sections
- rule identity and description
- rule identity, description, priority, and active state
Requirementstab with KYC and NGR threshold inputsLimitstab with the total-withdrawal cap, time-period builder, and per-currency rowsRestrictionstab with allowed countries and payment methodsTagstab with required and restricted tag sets
Validation and operator rules
Rule Nameis the only required text fieldPrioritymust stay>= 0Maximum Total Amount per Periodmust stay>= 0;0means unlimited- required and restricted tags cannot overlap
- empty threshold fields mean that side of the range is not restricted
- the visible
Days,Hours, andMinutesinputs all write into one storedwithdrawalPeriodMinutesvalue - currency rows with no selected currency or no positive amount are dropped before the request is sent
- the back arrow and
Cancelboth return to the list without saving
Known caveats
- The form captures the shared rule payload only. Per-customer rules are managed through the dedicated customer-rule flows, not by creating a shared rule here.
- Priority matters only when multiple active rules can match the same withdrawal.
- Currency configuration is optional, but if used it should be complete enough to make the rule understandable for operators.
- The backend model also stores
paymentDelayMinutes,merchants, andisValid, but the current shared-rule form does not render controls for them. - Create always sends
merchants: []for backward compatibility. - The edit page rejects a missing or non-numeric route id before the form mounts and shows
Invalid rule ID. - The backend detail route enriches the rule with tag, payment-method, and currency metadata, but the form edits only the shared persisted rule fields.
Verification status
- status:
verified_backend - FE create and edit behavior checked from
AutomaticWithdrawalForm - backend create, update, and detail behavior checked from
AutomaticWithdrawalControllerpluscreateRule,updateRule, andgetRule