Verification
Age and identity verification endpoints. Yoti for buyer age verification; Veriff for creator identity verification.
Yoti — Buyer Age Verification
Yoti verifies that buyers/fans are 18+ before viewing adult content.
Flow:
- Buyer clicks link to adult-flagged content (Require Age Check enabled)
- Buyer redirected to Yoti verification
- Yoti confirms 18+ status
- Buyer proceeds to checkout
Note: AVS (adult content) must be ON for Require Age Check to be ON. Non-adult content does not require Yoti.
Create Yoti session
POST /api/yoti/session/create
Creates a Yoti verification session for the buyer. Typically called from the frontend when a buyer needs to verify age.
Authentication: None (public for buyer flow)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
return_url | string | Yes | URL to redirect after verification |
product_id | integer | No | Product being purchased |
Response (200)
{
"success": true,
"errors_message": null,
"data": {
"session_id": "...",
"redirect_url": "https://yoti.com/..."
}
}Yoti webhook
POST /api/yoti/webhook
Receives verification results from Yoti. Do not call directly — used by Yoti backend.
Veriff — Creator Identity Verification
Veriff verifies creator/seller identity for KYC (Know Your Customer) compliance. Not for age check.
Flow:
- Creator requests verification before uploading
- Creator provides identity document
- Veriff confirms identity
- Uploads are enabled after verification
Create Veriff session
GET /api/veriff/create
Creates a Veriff verification session for the authenticated creator.
Authentication: Required
Example Request
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://fangate.info/api/veriff/createResponse (200)
{
"success": true,
"errors_message": null,
"data": {
"url": "https://veriff.me/...",
"session_id": "..."
}
}Veriff webhooks
Veriff sends webhooks for decision/events. Routes exist at:
POST /veriff/eventsPOST /veriff/decisionPOST /veriff/auto
These are server-to-server; do not call from client.
Non-adult content
Fangate can be used for any digital content (music, art, files). Age verification (Yoti) is only required for adult-flagged content. For non-adult content, the platform functions like "WeTransfer + payment" with no age check.