Operator guideEN

Affiliate Payment Settings / Sending Window

Sending-window configuration tab for affiliate payment settings.

How to use this guide

Start with the main guide

Follow the explanation and examples first. Extra definitions and formulas are available below when you need them.

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 PID to narrow the table to configurations whose PID array contains the typed value.
  • Use Add Config to 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 keeps tab=sending-window when 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.
More details

Definitions and formulas

Open only the section you need. The relevant section opens automatically when you request help for a specific item on screen.

Fields9 topicsOpen details

Filter by PID

Text filter that narrows the sending-window list by matching PID values.

Data Type
string
Editable
true
Caveats
The current UI exposes only the PID filter., Backend matching is a partial text match against the JSONB PID array.

PID

PID values from affiliate-link payloads that this sending-window rule targets.

Data Type
string-list
Editable
true
Caveats
The list renders each PID as a chip., The form is a free-solo multi-chip input with no predefined options., FE and backend both require at least one PID value on create/update.

Name

Human-readable configuration name shown in the table and confirmation prompt.

Data Type
string
Editable
true
Caveats
Required in both create and edit mode., FE and backend enforce a maximum length of 255 characters.

Standard Limit

Number of exact 24-hour periods allowed after the first recorded deposit timestamp for a player who does not use the successful CPA-qualified override.

Data Type
integer-or-null
Editable
true
Caveats
Displayed as `<N> days` in the list., Empty values render as an em dash in the list., Empty form input is submitted as `null`, meaning no configured standard day limit., Non-empty values must be whole numbers greater than 0., The runtime window expires when exact elapsed duration reaches this value multiplied by 24 hours.

CPA Limit

Exact 24-hour-period limit used instead of Standard Limit for a successful CPA-qualified FTD.

Data Type
integer-or-null
Editable
true
Caveats
Displayed as `<N> days` in the list., Empty values render as an em dash in the list., Empty form input is submitted as `null`, meaning no configured CPA day limit., Non-empty values must be whole numbers greater than 0., A merely configured or pending CPA result does not select this override.

Status

Indicates whether the sending-window configuration is active.

Data Type
boolean
Editable
true
Caveats
The list exposes this as a switch for direct status updates., The form exposes the same value as the `Active` switch., Avoid duplicate active PID coverage because runtime record precedence is not deterministic.

Created

Creation date shown in the list.

Data Type
date
Editable
false
Caveats
The current UI formats this with the browser locale date formatter.

Actions

Edit and delete controls for the selected sending-window configuration.

Data Type
action-list
Editable
false

Created By

Backend audit value populated from the authenticated user when a configuration is created.

Data Type
string-or-null
Editable
false
Caveats
This value exists in the API/model but is not currently rendered as a visible table column.
More help

Related pages

Affiliate Deals / Dashboard

Affiliate deal cohort report that period-bounds registrations, then combines the selected players with cumulative deposit and linked-event values.

Affiliate Deals / Form

Create and edit form for affiliate deals, including PID, date window, commercial terms, and responsible person.

Affiliate Deals / List

Searchable table of affiliate deal rows with PID filter, create action, dashboard shortcut, and edit/delete row actions.

Affiliate Payment Settings / Detail

Detail/edit shell for one saved affiliate payment-setting record.

Affiliate Payment Settings / Form

Create and edit form for one affiliate payment-setting record, with visible PID targeting, minimum deposit threshold, and active-state control.

Affiliate Payment Settings / List

Affiliate payment settings inventory page for reviewing configured rows and opening saved records.