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

  1. 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).
  2. Gender Check

    • Param: gender
    • Possible Values:
      • M – Male
      • F – Female
      • X – Any other or non-binary gender
    • Example: gender=F
    • Description: Ensures the user’s gender matches the specified code.
  3. 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.

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:
      1. Over 18 years old
      2. Identified as female (F)
      3. A resident of France (FRA)

Any user who meets all combined criteria will be successfully approved. Otherwise, the approval will fail.