Proof of address check
Check a proof of address document (a utility bill, a bank statement, a tenancy agreement, a letter from a government body) without running a verification. The document is read by the same engine a verification’s proof of address uses, and the answer comes back in the same response: what the document is, who issued it, how old it is, whose name and address it carries, and where that address is on the map. It is the same check Spot Checks runs from the dashboard (Spot Checks → Individual → Address), and every check is kept in the same history (checks run here are labelled “API”).
Authentication: Authorization: Bearer sk_… (secret keys only). Results carry personal data, so this never belongs in client-side code.
What is checked
- What the document is. A utility bill, bank statement, tenancy agreement, government document or other document carrying a person’s address, and which one within that kind (an electricity bill, a credit card statement). A page that carries no address for a person, such as an ID card or a screenshot of an app, is not a proof of address.
- How old it is. The issue or statement date, against a window of 90 days. A bill that prints only the period it covers is dated by that period’s last day.
- Whose it is. The names it is addressed to. When you send
name, the check says whether that person is one of them. - The address. The address printed for that person, placed on the map. When you send
address, the check compares it with the one printed. - The country. The country the address is in. When you send
country, the check says whether they agree. - Signs of editing. The file is inspected for the marks an image or PDF editor leaves, and the page for text that looks changed.
1. Upload the document
Upload the document with POST /api/v1/upload, with type=proof_of_address. JPEG, PNG, WebP and PDF are accepted, up to 25 MB. Your secret key works here too.
An upload is kept for 30 minutes. Run the check within that time. Once the check is answered, the document is kept with it, so your team can see it on the result in the dashboard: in production as long as your media retention allows, in sandbox for 3 days.
2. Run the check
In sandbox the document is not read, so this answers with a sample and is not charged.
A new check answers 201; a retry with the same requestId answers 200 with the check already run.
Outcomes
Reasons
How sharp a photo is (quality) is recorded and never decides the outcome. A map nobody could ask (location.status not_checked) says nothing about the address and is never a reason. New reasons may be added.
The result
New fields may be added to result; existing ones are never renamed.
History
GET /api/v1/checks/address lists your address checks in this environment, newest first, with outcome, page and pageSize (at most 100) as filters. GET /api/v1/checks/address/:id returns one check. DELETE /api/v1/checks/address/:id removes it from your history; the delete is soft and nothing is refunded.
Billing
Each check is charged at your Verifications proof of address price, in production only. A check that could not be completed (unavailable), including a document that could not be read, is not charged, and a retry with the same requestId is never charged again. Sandbox and development checks are free.
Testing
In sandbox the uploaded document is never read: a sample electricity bill from Ikeja Electric, dated 12 days ago, for 12 Adeola Odeku Street, Victoria Island, Lagos, Nigeria, is judged in its place, and result.sample is true. Upload any image or PDF as proof_of_address to get a documentMediaId. The name you send picks the outcome; any other name is the name on the sample, and no name is fine too.
The test names are matched whatever their case. The country, documentType and address you send are judged against the sample as they would be against a real document: "country": "GH" gives country_differs, and "documentType": "bank_statement" gives type_differs.