Age verification
Pleenk helps you verify a user's age via a quick selfie video or ID scan. This ensures only adults (18+) can proceed, enhancing compliance and security. After verification, users can optionally create a Pleenk account for faster future checks.
How It Works
User Verification
- Selfie video: The user records a short video selfie, and an AI analyzes it to determine if the user meets your age requirement.
- ID scan: If further confirmation is needed, the user can scan a valid identification document for verification.
Optional Account Creation
After successful verification, the user has the option to create a Pleenk account. By doing so, they can speed up future verifications on subsequent visits.
Getting Started
-
Create an Organization Account
- Sign up on Pleenk to obtain your Confidentiality Wallet ID and generate your Private Key.
-
Configure approve link
- pw_confidentiality_wallet: Confidentitaliy Wallet ID (from your organization account)
- pw_user: User ref to recognize the user on your end
- pw_request: Approve request criteria (e.g.,
age_over_18
) - pw_notification: Webhook url to notify when approve is confirmed
-
Generate a Signature
- Combine the following parameters and sign them using your Private Key:
-
Integration Options
- Using the Pleenk Widget: Insert the Pleenk approve link inside an iframe. This is the simplest approach, requiring minimal development effort.
- Using your own button: Redirecting to “marketplace/approve” url on Pleenk. This approach gives you more control over the user experience and customization options.
-
Handle Notifications
- Pleenk will send a notification (webhook/callback) to the
pw_notification
params with the verification result to the URL you specify. - Match the userRef in the notification to update that user’s status (e.g., grant or restrict access).
- Pleenk will send a notification (webhook/callback) to the
Integration Example
<a href="https://app.pleenk.com/marketplace/approve
?pw_confidentiality_wallet=YOUR_WALLET_ID
&pw_user=YOUR_USER_ID
&pw_request=age_over_18
&pw_notification=https://example.dev/webhook
&signature=GENERATED_SIGNATURE">
Verify Your Age
</a>
Notification example
{
"events": [
{
"eventType": "APPROVE",
"data": {
"@type": "APPROVE_EVENT",
"userRef": "407eebe2-a380-44d8-9397-6663849afeb4-e2e",
"request": "age_over_18",
"result": {
"age_over_18": true
}
}
}
]
}
Updated 2 days ago