Compare two documents
Compares the current document against a reference document. Useful for cross-referencing extracted fields between an ID document and a proof-of-address, or between two identity documents.
Required scope: documents:write
Compares the current document against a reference document. Useful for cross-referencing extracted fields between an ID document and a proof-of-address, or between two identity documents.
Required scope: documents:write
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
Document ID (doc_*).
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Type of extraction performed (e.g. ocr, barcode, mrz).
Key-value map of extracted data fields.
Per-field confidence scores (0-1).
Field-by-field comparison results when comparing two documents.