Login
Register
  • Русский
  • English
Login
Register
  • Русский
  • English
  • GET STARTED
  • GITHUB
    • 🐘 SDK PHP
    • 👨‍💻 SDK GOLANG
    • ✳️ SDK NODE JS
  • AUTHENTICATION
    • 👨‍💼 User authentication
    • 👨‍💼 User registration
    • 🔐 Password recovery
  • INFORMATION
    • 🆕 Adding a new address
    • 🆎 Getting information at the address
    • 🔍 Search for supported cryptocurrencies at
    • 💰 Available currencies
  • RISK CHECK
    • 📑 Getting a list of quick checks
    • 🆕 Adding a new quick check
    • 📊 Getting information on quick verification
    • 🔄 Launching a quick check
  • INVESTIGATION
    • 📝 Getting a list of investigations
    • 🕵️‍♂️ Creating an investigation
    • 📋 Receiving information on the investigation
    • 📊 Getting data on the investigation graph
    • 🧐 In-depth investigation within the framework of the investigation
    • 🔄 Investigation launch
  • BALANCES
    • 💰 Getting user`s balance
    • 📜 Creating a payment invoice
    • 💵 Currencies allowed for replenishment
  • KYC VERIFICATION
    • 🆕 Create KYC verification
    • 📑 List KYC verifications
    • ▶️ Start verification session
    • 📷 Upload photos and documents
    • 📋 Get verification details
    • ⚙️ Get session parameters
    • 🔄 Update verification step
    • 🔍 Check document data
    • 👁️ Start liveness check
    • ✅ Verify liveness data
    • 🔤 Recognize document (OCR)

✅ Verify Liveness Data

Code samples

POST /webapi/kyc/user/{uuid}/liveness/verify

Body parameter

{
  "challengeToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "frames": [
    {
      "challengeIndex": 0,
      "image": "data:image/jpeg;base64,...",
      "landmarks": {},
      "blendshapes": {},
      "headPose": {},
      "timestamp": 1701424800.123
    }
  ],
  "antiSpoofing": { "score": 0.99 },
  "passport": "data:image/png;base64,...",
  "documentType": "passport",
  "country": "ru"
}

🛠️ Parameters

NameInTypeRequiredDescription
uuidpathstring(uuid)trueVerification UUID
challengeTokenbodystringtrueToken from /liveness/start
framesbodyobject[]trueFace video frames
frames[].challengeIndexbodyintegertrueChallenge index
frames[].imagebodystringtrueFrame image in base64
frames[].landmarksbodyobjectfalseFace landmarks
frames[].blendshapesbodyobjectfalseFace blendshapes
frames[].headPosebodyobjectfalseHead pose data
frames[].timestampbodynumbertrueUnix timestamp of frame
antiSpoofingbodyobjecttrueAnti-spoofing data
passportbodystringtrueDocument photo in base64
documentTypebodystringtrueDocument type
countrybodystringtrueCountry (ISO code)

Example responses

200 Response

{
  "success": true,
  "score": 0.97,
  "passed": true,
  "details": {
    "livenessScore": 0.97,
    "faceMatchScore": 0.94,
    "antiSpoofingScore": 0.99
  }
}

🔁 Responses

StatusMeaningDescriptionSchema
200OKVerification resultInline
404Not FoundVerification not foundInline
422Unprocessable EntityValidation errorInline

📋 Response Schema

NameTypeDescription
successbooleanOperation success
scorenumberCombined score (0–1)
passedbooleanWhether liveness check passed
detailsobjectDetailed breakdown of scores
No authentication required for this endpoint
Prev
👁️ Start liveness check
Next
🔤 Recognize document (OCR)