ageCategory Now Included in FAIL Status Webhook Events
We've updated the Verification.Result webhook event to include the ageCategory field in FAIL status events when age data is available.
What's New
ageCategory in FAIL Status Events
The ageCategory field is now included in Verification.Result webhook events for FAIL status when:
failureReasonisage-criteria-not-met- Age data is available (both
age.lowandage.highare present)
This provides more complete information about the user's age category even when verification fails due to age criteria not being met, enabling better analytics and logging while maintaining clear access control boundaries.
Updated Documentation
The Verification.Result documentation has been updated to reflect this change:
- Fields table: Updated description to clarify when
ageCategoryis present for FAIL status - Key differences table: Clarified when
ageCategoryis present for webhook events vs API endpoint - FAIL status field presence rules: Updated to show
ageCategoryas "Sometimes included" with specific conditions - Complete field matrix: Updated to show
ageCategoryas "sometimes²" for FAIL status in webhooks - Example payloads: Added
ageCategoryto the FAIL status example to demonstrate the new behavior - Implementation checklist: Updated guidance for handling
ageCategoryin FAIL status - Implementation notes: Clarified the behavior of
ageCategoryfor both PASS and FAIL statuses
Important Notes
- Access control: Even when
ageCategoryis present in FAIL status events, it should never be used for access control decisions. Always use thestatusfield to determine access. - Consistency: This update applies to both webhook events and API endpoint responses
- Language support: All language versions (English, Japanese, Simplified Chinese, and Korean) have been updated
Next Steps
- Review the updated Verification.Result documentation
- Update your integration to handle
ageCategoryin FAIL status events if needed - Remember: Never use
ageCategoryfor access control when status is FAIL, even if the field is present. Use it only for analytics, logging, or informational purposes.