📷 Upload Photos and Documents
Code samples
PUT /webapi/kyc/user/{uuid}
Body parameter
{
"cadrs": ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."],
"passport": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"document_type": "passport",
"country": "ru"
}
🛠️ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| uuid | path | string(uuid) | true | Verification UUID |
| cadrs | body | string[] | true | User selfie photos in base64 |
| passport | body | string | true | Document photo in base64 |
| document_type | body | string | true | Document type (passport, id_card) |
| country | body | string | true | Document country (ISO code, e.g. ru) |
Example responses
200 Response
{
"success": true
}
🔁 Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Photos successfully processed | Inline |
| 404 | Not Found | Verification not found | Inline |
| 422 | Unprocessable Entity | Validation error | Inline |