Check Verification Documents
curl -X POST "https://example.com/v1/verifications/document-check"{ "fields": { "property1": "string", "property2": "string" }, "address": { "property1": "string", "property2": "string" }, "documents": { "property1": { "read": true, "option": "string", "fields": { "property1": "string", "property2": "string" }, "expiry_date": "string", "printed_name": { "given_names": "string", "surnames": "string", "latin_given_names": "", "latin_surnames": "", "business_name": "string" }, "skipped": "daily_limit", "none_of_types": false, "file_slot": "string" }, "property2": { "read": true, "option": "string", "fields": { "property1": "string", "property2": "string" }, "expiry_date": "string", "printed_name": { "given_names": "string", "surnames": "string", "latin_given_names": "", "latin_surnames": "", "business_name": "string" }, "skipped": "daily_limit", "none_of_types": false, "file_slot": "string" } }, "warnings": [ { "field": "string", "kind": "unreadable", "message": "string" } ], "note": "string"}Check Verification Document Cautions
Check the typed names and chosen document types again, against the reads an earlier `POST /verifications/document-check` returned (JSON). Send the form as it is now, with each slot's earlier read in `documents.<slot>.read` (the `documents.<slot>` that check returned). Only slots with a read are checked. Returns the `name`, `document_type` and `expired` warnings that check would give for this form. No file is sent, no AI model runs, no daily read is used, and nothing is saved.
Check Verification
Check a verification form without filing anything (multipart/form-data). Takes the same parts as `POST /verifications` and runs every check Hail can run before filing: the purpose rules, the credit check (402), the carrier's form (a read), the duplicate check (409), field lengths, the files (`file.<slot>` and `upload.<slot>`: type, size, owner, age), and the form's own rules (required fields, documents, address; for `sms` the US texting application). Errors are the same codes and shapes submit gives. Nothing is filed at the carrier, saved, held or charged, and uploads are not used up. The carrier runs its own checks when you submit.