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)

🔤 Recognize Document (OCR)

Code samples

POST /webapi/kyc/user/{uuid}/recognize-document

Body parameter

{
  "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
  "document_type": "passport",
  "country": "ru"
}

🛠️ Parameters

NameInTypeRequiredDescription
uuidpathstring(uuid)trueVerification UUID
imagebodystringtrueDocument image in base64
document_typebodystringtrueDocument type (passport, id_card)
countrybodystringtrueDocument country (ISO code)

Example responses

200 Response

{
  "success": true,
  "confidence": 0.95,
  "data": {
    "firstName": "Ivan",
    "lastName": "Ivanov",
    "patronymic": "Ivanovich",
    "dob": "1990-01-01",
    "seria": "1234",
    "number": "567890",
    "passport_date": "2010-01-01"
  },
  "warnings": []
}

🔁 Responses

StatusMeaningDescriptionSchema
200OKDocument data recognizedInline
404Not FoundVerification not foundInline
422Unprocessable EntityValidation errorInline

📋 Response Schema

NameTypeDescription
successbooleanOperation success
confidencenumberRecognition confidence (0–1)
dataobjectRecognized document fields
warningsstring[]Warnings about recognition quality
No authentication required for this endpoint
Prev
✅ Verify liveness data