Scan national ID — back (file upload)

View as Markdown

Same as POST /v1/ocr/id/back, but accepts multipart/form-data with the image as a file field instead of a base64 string.

Authentication

ApiKeystring
Static API key issued to your tenant. Required on every request.
OR
AuthorizationBearer

End-user JWT from registration or login. Required for verification, signing, and user-scoped operations.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
The image file to process.
transaction_idstringOptional
Group multiple steps into one transaction.
client_transaction_idstringOptional
Your own reference ID.

Response

servicesobjectOptional

Per-service check results attached to every OCR response.

datamap from strings to anyOptional

Document-specific extracted fields.

error_codeinteger or nullOptional
error_messagestring or nullOptional