What this surface does
The Sending Window tab manages rules that limit how long affiliate-related users stay eligible for sending-window processing after their first deposit.
Each rule targets one or more PID values. A standard limit applies to regular players. The CPA limit overrides it only when the player has a successful CPA-qualified FTD.
How operators use it
- Use
Filter by PIDto narrow the table to configurations whose PID array contains the typed value. - Use
Add Configto create a new rule with at least one PID, a name, optional standard and CPA day limits, and an active flag. - Use the status switch for a quick active/inactive change without opening the form.
- Use edit when the PID set, name, or day limits must change.
- Use delete only when the configuration should be removed from the active list; the backend model stores deleted rows with soft-delete semantics.
Field behavior
Standard Limit means days after first deposit for a regular player. CPA Limit is selected only for a successful CPA-qualified FTD. Empty limit fields are submitted as null, which means there is no configured day limit for that branch.
The runtime measures exact elapsed milliseconds from the first recorded deposit timestamp. A limit of N days expires at N x 24 hours; it does not round to whole calendar days or use a timezone day boundary.
Common caveats
- The tab is nested under
Affiliates Config; the URL query keepstab=sending-windowwhen operators return from create or edit. - The visible list exposes only the PID filter; name and active-state filtering are not available from the current screen.
- Update requests send the record id in the body, not as a URL path segment.
- Runtime lookup selects one matching active record without a deterministic order. Do not keep duplicate active rules for the same PID.
- If the runtime check fails unexpectedly, affiliate tracking currently fails open and continues.