Check a proof of address
Reads a proof of address document (a utility bill, a bank statement, a tenancy agreement, a government letter) on its own, with no verification, and says whether it holds up: what it is, who issued it, how old it is, whose name and address it carries and where that address is on the map.
Upload the document first with POST /api/kyc/upload (multipart file and type=proof_of_address; JPEG, PNG, WebP or PDF), then send its mediaId here as documentMediaId within 30 minutes. Send name to check the document is addressed to that person, country to check the address is in that country, documentType if you know what the document is, and address to compare with the one printed.
pass: readable, recent (90 days or less), addressed to the name sent and its address placed on the map. review: something a person should look at (see result.reasons): no address, too old or undated, nobody named, the address not placed or not the one sent, another country or kind, or signs of editing. fail: not a proof of address, or addressed to somebody else. A document that cannot be read is unavailable with failureCode unreadable and is not charged.
Charged at your Verifications proof of address price. In sandbox the document is not read: a sample answer marked result.sample comes back, and the name picks the outcome (Stale Document review, Name Mismatch fail, Not Proof Of Address fail, Unreadable Document unavailable, anything else pass).
Rules: send rules to set what each finding does (decline fails the check, review sends it to review, approve keeps it as a note and passes) and to change the check’s settings. Anything left out takes your organisation’s saved default rules (set in Spot Checks), else Toden’s, which judge the check as it was judged before rules existed. result.rules says which rules the check ran under, where each came from and what each finding did.
Charged per check at your price (production only); a check that could not be completed is not charged. Send a requestId: a retry with the same value returns the same check with replayed: true, without running or charging again.
Error codes
A missing or unknown key answers 401, where error is a short sentence rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.
Request
The mediaId from uploading the document with type=proof_of_address.
Your idempotency key, 8 to 120 characters: a retry with the same value returns the same check.
Whose address it should be: checked against the names on the document. Or send firstName and lastName.
Whose address it should be, with lastName: matched as one name. Not with name.
With firstName.
The country the address should be in (ISO 3166-1 alpha-2).
Your own reference for the check (a customer or case id), kept with it and searchable in your history.
What each finding does, and the check’s settings. Each finding covers some of result.reasons: not_proof_of_address; name_mismatch; name_not_found; address_mismatch (address_differs, country_differs); document_issues (no_address, stale, undated, type_differs, address_not_located); authenticity (signs_of_editing); issuer_not_identified; unsupported_language. Defaults: not_proof_of_address and name_mismatch decline, issuer_not_identified approve, the rest review.
Response
A retry: the check already run under this requestId.
The check id (chk_…).
pass: nothing of concern. review: something a person should look at. fail: a clear problem. unavailable: the check could not be completed, was not charged, and is never a pass.
What was sent, minimised: never image bytes, only media ids.
Why the check could not be completed, when outcome is unavailable.
On a run only: true when this is a check already run under the same requestId.