Page body
What this form does
This form creates or edits one CPA qualification configuration row. It is the flat editor for one configuration payload and is useful when operators need to work with a single row instead of the grouped PID editor.
When to use it
- add one new qualification row
- fix threshold values on one existing row
- narrow the row to a country scope
- activate or deactivate one row
Main sections
- basic information with PID, configuration name, and active state
- geographic restrictions with the country collection editor
- deposit and wagering thresholds
- fraud score threshold and monthly cap
- three-part hold-period builder
- self-exclusion behavior during the hold period
Validation and operator rules
Partner ID (PID)is requiredConfiguration Nameis requiredPartner ID (PID)becomes read-only in edit mode- wagering period must be a whole number of days when set
- fraud score threshold must stay within
0to1 - monthly cap must be a positive integer when set
- the visible
Days,Hours, andMinutesinputs all write into one storedholdPeriodMinutesvalue - leaving countries empty keeps the row global instead of country-specific
Known caveats
- The grouped PID editor remains the richer flow for managing one PID with global rules and country overrides together.
- This form edits only one row at a time.
- Create injects
createdByfrom the current admin email; update sends the row id ascpa_idin the request body. - The country editor adds
Ontarioas a special option alongside the country-list dataset. - Edit mode uses a short initialization spinner after the detail payload arrives before the form becomes interactive.
Canceland the back arrow both return to the list without saving.
Verification status
- status:
verified_backend - FE create and edit behavior checked from
CpaQualificationForm - backend create, detail, and update routes checked from
AffiliateControllerplus the CPA qualification services