Pre-review a KYC packet
Advisory dry-run of a regulated-KYC packet before submitting.
It reviews the exact documents the regulator will see (referenced by the ids from POST /v1/phone-numbers/kyc/upload-document) against the declared values and address. It returns plain-language advisories for likely decline reasons (wrong document type, mismatched address, one-sided ID scans).
Non-blocking: advisories are warnings, submitting anyway is always allowed, and any review failure degrades to an empty list.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonWhat every request needs
Id from POST /v1/phone-numbers/kyc/upload-document.
Optional parameters3 fields
requirementId to declared textual value.
Declared address (street_address, locality, ...), so a mismatched proof-of-address can be flagged.
Date printed on the document (YYYY-MM-DD), for slots the regulator windows such as proof of address. The pre-submit review trusts it over its own read of the PDF.
Responses
Success· the request worked
Errors· the request failed
Pre-validate KYC address
Optional early check for the address step of a Tier 4 (end-user identity) registration. It validates a postal address for deliverability BEFORE the full KYC submit, so it can be corrected before any documents are uploaded. The full submit (POST /v1/phone-numbers/kyc) re-validates the address, so this call is purely a fast feedback path and skipping it is safe. Only the postal address is sent (no documents, no gov-ID fields). A region (`administrative_area`) is required by the validator. When it is omitted the pre-check is skipped and `{ ok: true, skipped: true }` is returned (the final submit still validates).
Upload a KYC document
Upload ONE document and get back its provider document id, to reference from POST /v1/phone-numbers/kyc via `documents[].documentId`. - Send the RAW file bytes as the request body (not base64). - Put the filename in the `X-Filename` header. - Uploading documents one-per-request keeps each request under the ~4.5MB body limit. The document streams straight to the number provider and is not stored by Zernio.