Approve request parameter
The pw_request
parameter defines one or more criteria that determine whether a user is approved. These criteria can be combined by separating them with commas.
Supported Criteria
-
Age Check
- Param:
age_over_X
- Example:
age_over_18
- Description: Verifies if the user’s age is strictly above the specified value (e.g., 18).
- Param:
-
Gender Check
- Param:
gender
- Possible Values:
M
– MaleF
– FemaleX
– Any other or non-binary gender
- Example:
gender=F
- Description: Ensures the user’s gender matches the specified code.
- Param:
-
Country of Residence Check
- Param:
resident_country
- Example:
resident_country=FRA
- Description: Checks if the user’s residence country matches the specified 3-letter ISO 3166-1 alpha-3 code.
- Param:
Combining Multiple Criteria
You can mix these criteria by separating them with commas. For example:
age_over_18,gender=F,resident_country=FRA
- Means the user must be:
- Over 18 years old
- Identified as female (
F
) - A resident of France (
FRA
)
- Means the user must be:
Any user who meets all combined criteria will be successfully approved. Otherwise, the approval will fail.
Updated 2 days ago