Appearance
Client settings
Various settings can be configured via the Portal interface.
INFO
You need "Update config" permissions to access these pages.
Client configuration can also be read and updated through the public API. The API only exposes settings for the authenticated client. For the document expiration settings, the response also includes the platform default as defaultValue when available; this does not create a client override.
| Endpoint | Method | Description |
|---|---|---|
/api/client/config | GET | Returns the configured values for the authenticated client. |
/api/client/config/{key} | GET | Returns one configured value. |
/api/client/config/adv-sender-email/status | GET | Returns whether ADV emails are sent from your Sender Email Address. |
/api/client/config/required-fields/check-coverage | GET | Returns, for each of your enabled checks that needs a case's details, whether it can run on every case your Required Fields allow, and why not. |
/api/client/config | PUT | Updates one or more client settings. |
/api/client/config | DELETE | Removes one or more client overrides. |
/api/client/adv-email-template | GET | Returns whether each part of your ADV Email Template is your own. Downloading, uploading, removing and testing a part have endpoints of their own. |
For example, update the document expiry settings with:
json
{
"document-age-threshold": "90",
"expiration-alert-lead-time": "30"
}Values are supplied as strings. The expiry settings must be positive whole numbers of calendar days. To restore a setting to the platform default, remove the client override:
json
["expiration-alert-lead-time"]The update and delete endpoints require the appropriate client configuration permission. A value an update refuses gets a 400 Bad Request (see Bad requests) whose errors start with the setting's key, and whose fields list the messages under each setting, as the examples below show.
General Settings
In the Portal, these are on the General page under Settings.

This is an example, and exact behaviour depends on configuration: which checks are listed, and why, depends on the checks you have enabled and your Combined Address Services.
Required Fields
Choose the details every case you create must have, whether it's created in the Portal or through the API. A URN and the case type are always required, and so is an entity's type.
Until you save Required Fields, the Portal and the API keep their own rules. The API needs a person's given names or full name, and an entity's name. The Portal's forms also ask for a person's surname with their given names, their date of birth and their address. In the Portal, Required Fields start from the Portal's rules until you save your own, and they're only saved once you change one: saving your other settings doesn't save them. To save the Portal's rules as they are, change any field and change it back, then save. Through the API, they're {"name": "any", "address": "any", "dateOfBirth": true, "entityName": true}.
WARNING
Once you save Required Fields, the same rules apply in the Portal and through the API. Saved in the Portal, they start from the Portal's rules, so an integration that only sends a name has its cases rejected with a 400 Bad Request until it also sends everything else you've left required, such as a date of birth and an address. Make sure your integration sends everything you require before you save.
| Field | Values | Case type | What's required |
|---|---|---|---|
name | none, any or split | Person | any: a full name (Fullname), or given names and a surname (GivenNames and Surname). split: given names and a surname. A full name on its own isn't accepted. Either is stricter than the API's rule before you save, which accepts given names without a surname. |
address | none, any or split | Person | any: a split address, as split describes it, or a combined one (FullAddress). split: a house number or name (Addressline1 or Addressline2), a postcode and a country. A combined address isn't accepted, even though we'd try to split it. An address in a country without postcodes can only be given as a combined one, so it needs any. |
dateOfBirth | true or false | Person | All three of DOBDay, DOBMonth and DOBYear. |
title | true or false | Person | Title. |
gender | true or false | Person | Gender. |
countryOfCitizenship | true or false | Person | CountryOfCitizenship. |
emailAddresses | true or false | Person | At least one email address. |
phoneNumbers | true or false | Person | At least one phone number. |
employerName | true or false | Person | EmployerName. |
entityName | true or false | Entity | EntityName. |
entityRegistrationNumber | true or false | Entity | EntityRegistrationNumber. |
A field you leave out isn't required, though an empty object clears the setting instead (see below). Through the API, this is the required-fields setting. Its value is a JSON object, sent as a string like every other setting's:
json
{
"required-fields": "{\"name\": \"split\", \"address\": \"any\", \"dateOfBirth\": true, \"entityName\": true}"
}It's saved with every field, so when you read it back, the fields you left out are "none" or false. A value that isn't a JSON object of these fields and values is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved. Field names and the "none", "any" and "split" values are case-sensitive, and the other fields take JSON true or false, not the strings "true" and "false". A misspelt or differently cased field or value is rejected too, rather than ignored:
json
{
"errors": ["required-fields: \"name\" must be \"none\", \"any\" or \"split\"."],
"fields": {
"required-fields": ["\"name\" must be \"none\", \"any\" or \"split\"."]
}
}json
{
"errors": ["required-fields: \"dateofBirth\" isn't a field that can be required. The fields are: name, address, dateOfBirth, title, gender, countryOfCitizenship, emailAddresses, phoneNumbers, employerName, entityName, entityRegistrationNumber."],
"fields": {
"required-fields": ["\"dateofBirth\" isn't a field that can be required. The fields are: name, address, dateOfBirth, title, gender, countryOfCitizenship, emailAddresses, phoneNumbers, employerName, entityName, entityRegistrationNumber."]
}
}INFO
To go back to the Portal's and the API's own rules, send an empty string or {}, or remove the setting with DELETE /api/client/config. An empty object clears the setting rather than requiring nothing: to require only what's always required, save {"name": "none"}.
When cases are checked
Creating a case, in the Portal or through the API: every required field is checked. A request missing any of them is rejected with a
400 Bad Requestand a message for each, and no case is created:json{ "errors": ["A date of birth is required: day, month and year.", "An email address is required."], "fields": { "DobYear": ["A date of birth is required: day, month and year."], "DobMonth": ["A date of birth is required: day, month and year."], "DobDay": ["A date of birth is required: day, month and year."], "EmailAddresses": ["An email address is required."] } }Editing a case in the Portal, once you've saved Required Fields: a required detail the case has can't be removed. One it has never had isn't asked for, so a case created before you required it still saves. A detail the case only has in another form, such as a full name when you require given names and a surname, counts as one it has never had.
A case created from uploaded documents isn't checked, because it's filled in from what's read from its documents.
Checks that may not run
Requiring fewer details can leave some of your checks unable to run on some cases. For example, KYC needs a date of birth, so without dateOfBirth, a case can be created that KYC can't run on. While you edit Required Fields in the Portal, it lists every enabled check that may not run, and why, before you save.
Through the API, GET /api/client/config/required-fields/check-coverage reports on your saved Required Fields. Before you've saved any, it reports on what the API asks for, while the Portal's list reports on the Portal's rules it starts from, so the two only match once Required Fields are saved. To see the report for a choice before it applies, try it in the Portal, whose list updates as you change the fields. For example, part of the report with {"name": "any", "address": "split"} saved:
json
{
"checks": [
{
"handlerId": 12,
"check": "KYC",
"caseType": "Person",
"canAlwaysRun": false,
"unmet": [
{
"field": "name",
"message": "KYC can't run when the name is given as a full name.",
"stopsTheCheck": true
},
{
"field": "dateOfBirth",
"message": "KYC can't run on a Case without a date of birth.",
"stopsTheCheck": true
}
]
},
{
"handlerId": 7,
"check": "Content validation",
"caseType": "Person",
"canAlwaysRun": true,
"unmet": [
{
"field": "dateOfBirth",
"message": "Content validation's Date of Birth rule won't run on a Case without a whole date of birth.",
"stopsTheCheck": false
}
]
}
]
}| Field | Type | Description |
|---|---|---|
checks | array | Each of your enabled checks that needs any of a case's details, or has rules that do, once for each type of case it runs on. This includes Automated document verification, which needs an email address, and Manual document verification, which needs a first and last name. |
handlerId | number | The check's number, as Case Progress and Combined Address Services number it: 12 for KYC, for example. check names can differ from Case Progress's labels, so match on handlerId. |
check | string | The check's name. |
caseType | string | Person or Entity. |
canAlwaysRun | boolean | Whether every case your Required Fields allow has the details the check needs to start. Content validation and Document comparison always run, so they're always true. |
unmet | array | Why not, and which of its rules may go without. Empty when nothing's missing. |
unmet[].field | string | The Required Fields field that would change it, such as dateOfBirth. For a combined address, it's address: require a split address, or, for a check that can't use one at all, allow it in Combined Address Services. |
unmet[].message | string | The reason. |
unmet[].stopsTheCheck | boolean | false when the check still runs, but one of its rules doesn't, or works differently. |
The report tries every name and address form your Required Fields allow, and takes your Combined Address Services into account. It only checks which details a case is sure to have, not what they say: a check can still be stopped by something else, such as a missing document or an address outside the UK. Whatever the report says, a check still checks the case when it's started, and says what's missing (see Validation).
Document Extraction
Proof of Address Page Count
Number of pages to process when performing a proof of address extraction.
INFO
Leaving this option blank will use the platform default option of 1
Proof of Address Trim to Page Count
If enabled, any additional pages above the "Proof of Address Page Count" are stripped from the document: the portal shows only the trimmed pages, and checks other than the tamper checks only use those. The original document is still kept, unless it's deleted under your file retention period. It's sent for Tamper Detection and Tamper Lite, and downloading the file through the API returns it whole.
INFO
Leaving this option blank will use the platform default option of false
Proof of Address Process Bank Statements
If enabled, bank statements will still be processed as a bank statement when flagged as POA, extracting transactions, and triggering downstream rules, etc. The one exception is the Document Comparison Income rule: it never counts income from a document uploaded as proof of address only, so such a statement doesn't start Document comparison on its own either.
Note: Enabling this option, but disabling "Trim to Proof of Address Page Count" will result in the POA bank statements being processed as normal.
INFO
Leaving this option blank will use the platform default option of true
Document Translation
Enable Translations
Enable translation features for detected non-English extracted fields.
INFO
Leaving this option blank will use the platform default option of false
Auto Translate
Automatically translate detected non-English fields when available. Only applies to Portal translations, API always translates.
INFO
This option can only be enabled if "Enable Translations" is also enabled.
INFO
Leaving this option blank will use the platform default option of false.
Data Retention
How long your cases and your customers' uploaded files are kept isn't a setting you change: EyeDP sets it for you on request. The Portal shows it under Settings → General → Data Retention. See Data retention.
Check Settings
In the Portal, these are on the Checks page under Settings.

Rules settings
Fuzzy matching
Controls fuzzy matching levels for name checks across the platform. For example: "Name on document vs name on case". Enable which options you want to accept as a match from this screen. The Document Comparison Income rule uses these settings too, with Ignore Diacritics and Allow Reversed Names, to decide which bank statements and payslips are in the case's name.
INFO
If no fuzzy options are enabled, then exact matches will be used.
| Level | Description |
|---|---|
| Abbreviations | This will allow common shortened versions of names to be deemed a match. An example would be Chris Vs Christopher and Matt Vs Matthew. It is important to note that this does not include scenarios where characters are changed, such as Andy Vs Andrew. |
| Variations | This will allow common alternative spellings of names to be deemed a match. An example would be Stephen Vs Steven and Mohammed Vs Muhammed. |
| Nicknames | This will allow common alternative versions of names, often referred to as nicknames, to be deemed a match. An example would be Bob Vs Robert and Mike Vs Michael. |
| Initials | This will allow the first initial of first name to be deemed a match with the full name. An example would be J Smith Vs John Smith. |
INFO
The result will be considered an overall match if at least 1 of your selected options matches. For example, if you enable Abbreviations and Initials but only Initials matches, the overall result will still be a match.
Ignore Diacritics
Ignore diacritics when matching names across the platform. This will apply to all enabled "Fuzzy Match Options" above, including "exact".
If enabled, a letter with an accent or other mark will match the same letter without it. E.g. "José" will match "Jose" and "Łukasz" will match "Lukasz". Letters that aren't a plain letter with a mark will match their usual plain spelling: ß matches ss, æ matches ae, œ matches oe, ij matches ij, þ matches th, ð matches d and ŋ matches n. The letters ä, ö, ü, å and ø will also match their two-letter spelling from the passport standard (ICAO 9303): ae, oe, ue, aa and oe. E.g. "Müller" will match both "Muller" and "Mueller", but "Muller" and "Mueller" won't match each other, because neither has the ü.
INFO
Leaving this option blank will use the platform default of false.
Allow Reversed Names
If enabled, name checks will allow forename/surnames to be reversed. E.g. when enabled, "James Smith" will match "Smith James".
INFO
Leaving this option blank will use the platform default of false.
Document Age Threshold
Controls the age threshold for the "Document age" rule. Documents older than this value will flag.
INFO
Leaving this option blank will use the platform default option of 90
Expiration Alert Lead Time
Controls how many calendar days before a document reaches its effective expiry date the "Document Expiring" risk is raised. This applies to both expiry-date-based and issue-date-based document types.
INFO
Leaving this option blank will use the platform default option of 30 days.
Monitor Document Expiry
| Key | document-expiry-monitoring-enabled |
|---|---|
| Portal | Settings → Checks → Monitor Document Expiry |
| Default | false (off) |
When this is on, EyeDP checks your cases every day, at about 02:00 UTC, for passports, driving licences and other documents that are about to expire or have expired. This lets you act before a document stops being valid.
WARNING
The first daily run checks the documents on all your existing cases, so turning this on can raise a number of risks and alerts at once.
Which documents are checked
A document is checked when both of these are true:
- It has an expiry date printed on it, such as a passport or driving licence.
- Content Validation has run on it. This happens automatically for new documents unless you've turned Content Validation off under Automatic Check Settings. If you have, you need to start it yourself.
These documents aren't checked:
- documents whose expiry is based on their issue date, such as bank statements and utility bills
- archived documents, and documents on deleted cases
- documents where no expiry date could be read
What gets raised
| When | Risk |
|---|---|
| The expiry date falls within your Expiration Alert Lead Time | Document Expiring |
| The expiry date has passed | Document Expired |
- Each risk uses the rating in your risk profile on the day it's raised. Medium and High ratings also raise an alert. If the risk is unrated, no risk or alert is shown.
- When Document Expired is raised, the document's earlier Document Expiring risk is lowered to Information and its alert is resolved, unless someone has already changed that risk by hand. No webhook is sent for this.
- Each risk is raised only once per document. If the document already has it, for example from when it was uploaded, nothing new is added.
- Dates are compared in UTC.
What you'll see
When a risk is raised:
- A new Content Validation check is added to the document. It contains only the Document Expiry rule. The document's earlier checks and their results don't change.
- A
content-validation/completedwebhook is sent with the new check's id.
Because the new check becomes the document's latest one, its lastRun and lastCompletedRun in Case Progress show only the expiry rule. See Content Validation rules for how to see every risk on the document and find its earlier results.
Example
json
{
"document-expiry-monitoring-enabled": "true"
}INFO
Accepted values are true and false (in any letter case). A blank or any other value turns monitoring off.
Address Match Fields
Configures which fields must match when performing address checks on split addresses across the platform.
| Option | Description |
|---|---|
| All | Requires all present fields match. Missing fields on either side are ignored. |
| House Name / Number + Postcode | Requres House Name OR House Number, AND Postcode. Other fields are ignored. |
INFO
Leaving this option blank will use the platform default option of All
Combined Address Match Fields
Configures which fields must match when performing address checks on combined addresses across the platform.
| Option | Description |
|---|---|
| All | Requires all present fields match. Missing fields on either side are ignored. |
| House Name / Number + Postcode | Requres House Name OR House Number, AND Postcode. Other fields are ignored. |
INFO
Leaving this option blank will use the platform default option of House Name / Number + Postcode
Combined Address Services
Some services and checks require a split address to run. When a case is created with a combined address, we will try to split it into its individual components. You can control whether we attempt to run these services with the automatically split address.
Through the API, this is the full-address-handlers setting: a JSON array of the checks' numbers, 12 for KYC and 13 for Financial vulnerability, sent as a string. For example, "[12, 13]" allows both.
INFO
Leaving this option blank means neither check runs on a case that only has a combined address.
If your Required Fields accept a combined address, a check this setting doesn't allow can't run on a case that only has one, and the Checks that may not run report says so.
A check this setting allows may still not run on a combined address. We split it as best we can, into whatever parts we can find, and the split may not have what the check needs, such as a postcode. The check then isn't started, and case progress says what's missing. The report says such a check may not run, because whether it can depends on each address. A split address always has what you require of it, so require one if these checks must always run.
Automatic Check Settings
By default, these checks start by themselves: Tamper Detection and Tamper Lite when a document is uploaded, and the others once the data they need has been extracted. You can turn off each check's automatic run separately. A check you've turned off waits for you to start it, apart from the Tamper Detection exception below, and case progress shows it as not yet run. These settings never stop you starting a check yourself.
In the Portal, each of these is a card under Automatic Checks: a checked card runs automatically. Only checks enabled for your account are shown.
To start a check yourself in the Portal, choose it on a document in Evidence & Checks, or use Select & run checks. Each check you choose runs on its own: a Tamper Lite run you start never starts or skips Tamper Detection, so choose both if you want both. While a check is running on a document, you can't start another check of the same type on that document until it finishes, and Select & run checks shows the document as in progress. Its extraction doesn't count, so you can start Tamper Detection or Tamper Lite while a document is still being read. Through the API, start each of them with its workflow: tamper-detection, tamper-lite, content-validation, anomaly-detection and document-comparison (see Document workflows), or bav for Bank account verification. These runs work the same way: each starts only the check you ask for.
| Setting | Check | When it runs automatically |
|---|---|---|
auto-run-tamper-detection | Tamper Detection | On every file of a document, when it's uploaded. |
auto-run-tamper-lite | Tamper Lite | On every file of a document, when it's uploaded. |
auto-run-content-validation | Content validation | On a document once its data has been extracted, and on every extracted document when a case detail it reads changes, when a case created from uploaded documents is filled in, or when the case type is confirmed. |
auto-run-anomaly-detection | Anomaly detection | On a document once its data has been extracted. |
auto-run-document-comparison | Document comparison | On the case each time the last outstanding extraction finishes, once at least two documents have been extracted, or, on a person case, one bank statement or payslip that wasn't uploaded as proof of address only. On a case created from uploaded documents, it waits until the case has been filled in and, if needed, its type is confirmed, and whichever happens last starts it. |
auto-run-bank-account-verification | Bank account verification | On a bank account created from a bank statement, and on any bank account after it's edited. Creating a bank account yourself still starts it, whatever this setting says. |
A check you've turned off also isn't started by anything else that would have started it, such as the case's details being edited. The one exception is Tamper Detection, which Tamper Lite can still start on a file where it raises a risk: see When Tamper Lite Raises a Risk.
Tamper Detection's and Tamper Lite's settings are read when a document is uploaded. The others are read when the check would start: when a document's extraction finishes; when a case detail Content validation reads changes, a case created from uploaded documents is filled in, or the case type is confirmed; or when a bank account is created from a bank statement or edited. So changing one affects anything that hasn't reached that point yet, such as a document that's still being extracted.
json
{
"auto-run-tamper-lite": "false",
"auto-run-content-validation": "false"
}INFO
Leaving any of these blank, or setting any value other than "true" or "false" (in any letter case), will use the platform default of true.
Tamper Detection Settings
These settings only have an effect when both Tamper Detection and Tamper Lite are enabled for your account, and Tamper Lite runs automatically. The Portal only shows them in that case. A Tamper Lite run you start yourself never starts or skips Tamper Detection.
When Tamper Lite Raises a Risk
Controls whether Tamper Detection runs on a file where Tamper Lite has raised a risk. Through the API, this is the tamper-detection-on-tamper-lite-risk setting.
Tamper Lite raises a risk on a file when any of its checks is Flagged, whatever rating you've given that risk. A check whose risk is disabled in your risk configuration doesn't run, so it can't cause Tamper Detection to be skipped.
This setting, and whether each tamper check runs automatically, are read when a document is uploaded, so changing them only affects documents uploaded afterwards. Documents already uploaded follow the settings that applied when they were uploaded.
What each option does depends on whether Tamper Detection runs automatically (auto-run-tamper-detection):
| Option | Value | When Tamper Detection runs automatically | When Tamper Detection doesn't run automatically |
|---|---|---|---|
| Run Tamper Detection | run | Tamper Detection and Tamper Lite both run on every document, independently of each other. | Tamper Lite runs on its own. Where it raises a risk on a file, Tamper Detection then runs on that file. Otherwise, including when Tamper Lite fails, it doesn't. |
| Skip Tamper Detection | skip | Tamper Lite runs first. Where it raises a risk on a file, Tamper Detection is skipped for that file and shown as Skipped. Otherwise Tamper Detection runs. | Tamper Detection never runs automatically. It isn't shown as Skipped, and no tamper-detection/skipped webhook is sent. |
json
{
"tamper-detection-on-tamper-lite-risk": "skip"
}INFO
Leaving this option blank or setting any value other than "skip" or "run" will use the platform default option of Run Tamper Detection (run)
WARNING
If you choose skip and integrate through the API, make sure your integration handles the Skipped asset run state in case progress. If you use webhooks to know when Tamper Detection has finished, also register for tamper-detection/skipped: no tamper-detection/completed event is sent for a skipped file. A WebP file is never skipped: Tamper Detection can't be performed on it, so it shows as Unsupported and sends tamper-detection/unsupported instead.
Document Comparison Settings
Income Percentage
The share of a person's income that the Document Comparison Income rule works out for you. For example, with 30, each income total also shows 30% of it, as pctAmount, rounded to the currency's minor units. Through the API, this is the doc-comparison-income-pct setting.
It must be a number from 0 to 100, with up to 2 decimal places, written with a . as the decimal point and no thousands separators. It's saved in a standard form, without trailing zeros, so 30.50 is saved as 30.5.
json
{
"doc-comparison-income-pct": "30"
}A value other than an empty string that isn't a number in that form, is outside that range, or has more decimal places, is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved:
json
{
"errors": ["doc-comparison-income-pct: Must be a number from 0 to 100, with up to 2 decimal places."]
}The percentage is read each time the check runs, so a change applies to runs after it. Results already on a case aren't recalculated: to recalculate a case with the new percentage, start the document-comparison workflow. Each run reports the percentage it used, as pctOfIncome, so earlier results keep theirs.
INFO
Leaving this option blank reports the income totals without a percentage. To clear it through the API, send it as an empty string, or remove it with DELETE /api/client/config.
KYC Settings
Stricter 1 + 1
Require DOB (in addition to address) match to qualify for 1+1.
INFO
Leaving this option blank will use the platform default option of false
AML Settings
DOB Suppression
Ignore AML matches without a DOB.
INFO
Leaving this option blank will use the platform default option of false
ADV Settings
Primary colour
Sets the primary colour for the buttons and controls within the ADV integration (if enabled). The default is #6940ff.
Save Document
If enabled, documents uploaded during an ADV session are saved as Case Documents for further processing.
INFO
Leaving this option blank will use the platform default option of true.
Default Liveness Check
Sets the default liveness check when requesting a session.
INFO
Leaving this option blank will use the platform default option of passive.
Allowed Documents
| Key | adv-allowed-documents |
|---|---|
| Portal | Settings → Checks → Allowed Documents |
| Default | ["passport","driving-licence"] (passports and driving licences) |
Chooses which identity documents your customers can present in an ADV session. Allow national IDs or residence permits for customers who don't hold a passport or driving licence.
Which documents you can allow
| Value | Document |
|---|---|
passport | Passport |
driving-licence | Driving licence |
national-id | National ID |
residence-permit | Residence permit |
Allow at least one. You can't restrict documents by issuing country.
Not every country's national IDs and residence permits are supported. The UK has no national ID, and UK residence permits (BRPs) have all expired, so they're refused.
What happens
- The setting is read when a session is created, so a change applies to sessions created after it. A session that's already open keeps the documents it was created with.
- It applies to every session, and can't be set per request.
- Expired documents aren't accepted, whichever documents you allow.
What you'll see
With Save Document on, passports and driving licences are saved to the case as before. A national ID or residence permit is saved as one Other document, with all its pages. It has the extracted fields of an Other document, so it has no date of birth, document number or expiry date field.
The ADV check result and the automated-doc-verification/completed, automated-doc-verification/error and automated-doc-verification/could-not-run webhooks are the same whichever document is presented.
Example
The value is a JSON array, sent as a string like every other setting's:
json
{
"adv-allowed-documents": "[\"passport\",\"national-id\"]"
}Values aren't case-sensitive. The setting is saved in lower case, without repeats and in the order of the table above, so it may read back differently from how you sent it.
A value that isn't a JSON array of these documents is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved. Each message in errors starts with the setting's name, and fields lists the same messages under the setting, without it. For an empty array:
json
{
"errors": ["adv-allowed-documents: Choose at least one document."],
"fields": {
"adv-allowed-documents": ["Choose at least one document."]
}
}For a document that isn't in the table above:
json
{
"errors": ["adv-allowed-documents: Unknown document 'visa'. Must be one or more of: passport, driving-licence, national-id, residence-permit."],
"fields": {
"adv-allowed-documents": ["Unknown document 'visa'. Must be one or more of: passport, driving-licence, national-id, residence-permit."]
}
}For a value that isn't a JSON array:
json
{
"errors": ["adv-allowed-documents: Must be a JSON array of the documents to allow, such as [\"passport\",\"driving-licence\"]."],
"fields": {
"adv-allowed-documents": ["Must be a JSON array of the documents to allow, such as [\"passport\",\"driving-licence\"]."]
}
}INFO
If you haven't set this, passports and driving licences are allowed. To go back to that through the API, send an empty string, or remove the setting with DELETE /api/client/config. An empty array doesn't clear it: it's rejected, as above.
Default Issuing Country
| Key | adv-default-issuing-country |
|---|---|
| Portal | Settings → Checks → Default Issuing Country |
| Default | GB (United Kingdom) |
Chooses the issuing country an ADV session starts on when the case's address has no country. Set it to the country most of your customers' documents come from, so fewer of them have to change it.
Which country a session starts on
| The case's address | The session starts on |
|---|---|
| Has a country | That country |
| Has no country, or the case has no address | This setting's country: the United Kingdom unless you change it |
An address with address lines or a postcode but no country (addressCountryCode2) counts as having no country. EyeDP doesn't work a country out from the postcode.
The verification provider doesn't support a small number of territories, such as Åland. If the country from the address or from this setting is one of them, the session may start with no country selected. The customer then chooses one.
What happens
- The customer can choose another country in the session.
- The setting only chooses the country the session starts on. It doesn't restrict which countries' documents are accepted.
- The case's address and this setting are read when a session is created, so a change to either applies to sessions created after it. A session that's already open keeps the country it was created with.
- It applies to every session, and can't be set per request.
Example
json
{
"adv-default-issuing-country": "IE"
}The value is a 2-letter ISO 3166-1 country code, such as GB, IE or DE. Lower case is accepted, and the setting is saved in upper case, so ie reads back as IE.
A value that isn't a known country code is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved:
json
{
"errors": ["adv-default-issuing-country: Must be a 2-letter ISO country code, such as GB."],
"fields": {
"adv-default-issuing-country": ["Must be a 2-letter ISO country code, such as GB."]
}
}INFO
If you haven't set this, it's GB. To go back to that through the API, send an empty string, or remove the setting with DELETE /api/client/config.
Success URL
Sets where customers are sent when they complete an ADV session, for example to a page on your own site. Reaching this page only means the customer has finished the session, not that the check passed. The result may not be ready yet when they arrive, so wait for the automated-doc-verification/completed webhook (or automated-doc-verification/error, if the result couldn't be processed), or see API results.
The URL is the same for every session, and nothing is added to it to say which customer or case has arrived. Customers may also arrive on a different device from the one they started on, for example their phone after scanning the QR code, so don't rely on them being signed in to your application.
The URL must start with https:// and be on one of your organisation's valid email domains, or a subdomain of one. For example, with acme.com set up with us, both https://acme.com/verification/complete and https://app.acme.com/done are allowed. Contact support to add a domain. Your valid email domains are one list, so a domain added for these URLs can also be used for your Sender Email Address and for test emails.
Query strings, fragments and ports are kept, and the URL can be up to 2,000 characters once saved. It's saved in a standard form: the scheme and domain in lower case, without a default :443, and with characters such as " percent-encoded. It must use plain ASCII characters, so enter an international domain in its xn-- form. URLs on an IP address, or with a username or password in them, are rejected as not a valid https:// URL.
The URL is read when a session is created, so a change applies to every session created after it, including one you'd already requested that was still being created. A session that's already been created keeps the URL it was created with, including when you resend its email. If your valid email domains change and the URL is no longer on one of them, new sessions leave customers on the final screen. The saved URL is still shown in your settings but isn't used, so set one that's on your valid email domains, or contact support.
Through the API, this is the adv-success-url setting. A value that isn't an https:// URL, or isn't on one of your organisation's valid email domains, is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved.
Each message in errors starts with the setting's name. For a value that isn't an https:// URL:
json
{
"errors": ["adv-success-url: Must be a valid https:// URL."]
}For a URL that isn't on one of your valid email domains:
json
{
"errors": ["adv-success-url: Must be on one of your organisation's domains: acme.com."]
}If your organisation has no valid email domains yet:
json
{
"errors": ["adv-success-url: Your organisation has no domains set up with us. Contact support to add one."]
}INFO
Leaving this option blank leaves customers on the final screen of the ADV session.
Error URL
Sets where customers are sent if they can't finish an ADV session, for example when their document can't be captured or they're forced out of the session. A customer who finishes the session goes to the Success URL even if the check fails, so reaching either URL doesn't tell you the check's result, and nothing is added to it to say which customer has arrived. A customer who just closes the page isn't sent to either URL.
It follows the same rules as the Success URL: it must be an https:// URL on one of your organisation's valid email domains, or a subdomain of one, and a session keeps the URL it was created with. If your valid email domains change and the URL is no longer on one of them, new sessions leave customers in the ADV session when they can't finish it, until you set one that is. Through the API, this is the adv-error-url setting, and an invalid value is rejected in the same way, with messages that start adv-error-url:.
INFO
Leaving this option blank leaves customers in the ADV session when they can't finish it.
Sender Email Address
Sets the address ADV session emails are sent from. The sender's name is your organisation's name as it's set up with us. When an email is sent from your address, replies go to it, so use one your team monitors. Only the sender changes, unless you've uploaded your own Email Template, which is only ever sent to your customers from your address.
Each email domain you want to send from has to be added to your organisation's valid email domains and verified with us before you use it, including DNS changes on your side, so contact support to arrange it. Once it's set up, you can change the part of the address before the @ whenever you like, but the domain must stay one that's set up with us. Keep the DNS records in place: if they're changed or removed, recipients' email providers may reject emails from your address or mark them as spam.
If we can't send from your address, for example because its domain isn't verified with us, we send the email from EyeDP's address and name instead, in EyeDP's design rather than your own template.
The address is read each time an email is sent, so a change applies to every email sent after it, including resends of sessions requested earlier.
Through the API, this is the adv-sender-email setting. A value that isn't a single email address, or isn't on one of your organisation's valid email domains, is rejected with a 400 Bad Request (see Bad requests), and none of the request's other changes are saved. Saving doesn't check that the domain is verified, so check its status afterwards.
Each message in errors starts with the setting's name. For a value that isn't an email address:
json
{
"errors": ["adv-sender-email: Must be a valid email address."]
}For an address that isn't on one of your valid email domains:
json
{
"errors": ["adv-sender-email: Must be on one of your organisation's email domains: acme.com."]
}If your organisation has no valid email domains yet, the message says so.
To check whether ADV emails are being sent from your address, call GET /api/client/config/adv-sender-email/status. Check Settings in the Portal shows the same status under the field.
json
{
"status": "domainNotVerified"
}| Status | Meaning |
|---|---|
notSet | No sender address is set, so ADV emails are sent from EyeDP. |
notOnValidDomains | The address isn't on one of your organisation's valid email domains, for example because they've changed since it was saved, so it isn't used. Set an address on one of them, or contact support. |
domainNotVerified | Your domain isn't verified with us, because it hasn't been set up yet or its DNS records have changed, so ADV emails are sent from EyeDP until it is. Contact support if you think it should be verified. |
verified | ADV emails are sent from your address. |
unknown | We couldn't check just now. We try your address, and send from EyeDP's if it can't be used. |
A change to your domain's verification can take up to 10 minutes to show here and to apply to ADV emails.
Your own Email Template is only sent to your customers from your address, so it's used once the status is verified. While it's unknown, we try your address with your template, and if it can't be used, the email goes from EyeDP's address in EyeDP's design. You can upload and test a template whatever the status.
INFO
Leaving this option blank will send ADV emails from EyeDP's default address and name.
Email Template
Replaces EyeDP's design of the ADV session email with your own. Your organisation has one template, with two parts: an HTML version, which most mail clients show, and a plain-text version, for mail clients that can't show HTML. You can upload either or both, and any part you haven't uploaded uses EyeDP's. We recommend uploading both, so they match.
Your template is only ever sent to your customers from your Sender Email Address. While that address isn't verified, or if an email can't be sent from it, the email goes from EyeDP's address in EyeDP's design. You can upload and test a template before your address is verified, so it's ready in time: it's kept, and used once your address is verified.
The subject line isn't part of the template: it's always "ID Check Requested".
In the Portal, use the Email Template card in Check Settings' ADV section: choose a file for each part you want to replace, or remove one to go back to EyeDP's, then save your settings. Nothing changes until you save. Through the API, use the ADV email template endpoints.
You can upload a template before ADV is enabled for your organisation, and it's used once ADV is enabled. You can't send a test email until ADV is enabled, though, so until then you can't test a file before you upload it.
Test every file before you save it
Your template is used for every ADV email we send for you, including resends of sessions requested earlier: as soon as it's saved if your Sender Email Address is verified, or as soon as the address is verified if it isn't yet. Mail clients show HTML very differently from browsers, and from each other, so a template that looks right in a browser can arrive broken, and your customers may not be able to start their ID check. Always send yourself a test email of a file, and check it in the mail clients your customers use, before you save it.
Placeholders
Placeholders are replaced with the email's details when it's sent. They're case-sensitive, and are written exactly as shown, with no spaces inside the braces. Everything written in double braces is checked, anywhere in the file, including inside HTML comments.
| Placeholder | Replaced with |
|---|---|
{{SESSION_URL}} | The link to the customer's ID check. Every part must include it, or the customer has no way to start. |
{{CUSTOMER}} | The customer's given names, or their full name if the case has no given names, or "there" if it has neither, so "Hi {{CUSTOMER}}," reads "Hi there,". |
{{CASE_MANAGER}} | The first name of the user who requested or resent the session. For a session requested through the API, it's the first name of the user your API credentials belong to. |
{{CLIENT}} | Your organisation's name, as it's set up with us. |
{{PRIMARY_COLOR}} | Your Primary colour as a hex code, or the default #6940ff if you haven't set one. Use it for buttons and accents, so your emails match your ADV sessions. |
{{QR_CODE}} | HTML version only. An image of the QR code for the customer's ID check. See QR code. |
{{DATE_TIME}} | When the email is sent, for example 26/10/2026, 09:30:00. |
{{DATE}} | The date the email is sent, for example 26/10/2026. |
{{TIME}} | The time the email is sent, for example 09:30:00. |
{{DAY}}, {{MONTH}}, {{YEAR}} | The parts of the date the email is sent, for example 26, 10 and 2026. |
Dates and times are in UTC. In the HTML version, every value is escaped, so a customer's, user's or organisation's name can't add markup to your email.
QR code
ADV emails can include the session link as a QR code, so a customer reading on a computer can continue on their phone. To show it in your HTML version, put {{QR_CODE}} where you want it. It's replaced with this image:
html
<img style="margin: 48px auto; border: 1px solid #eaeaea; border-radius: 4px; box-shadow: 0 10px 15px -3px #eaeaea; aspect-ratio: 1/1;" src="cid:qr" width="256" height="256" alt="QR Code" />To style it yourself, write your own <img> with src="cid:qr" instead. The image is square, and 256 pixels wide or a little less.
It's optional: if your HTML version doesn't show the QR code, it isn't attached. {{QR_CODE}} can only be used in the HTML version: a plain-text email can't show an image, so a plain-text file that uses it is rejected. When your HTML version shows the QR code, mail clients that show the plain-text version show it as an attachment. A plain-text test email has no HTML version, so it always has the QR code attached.
Rules for your files
| Rule | HTML version | Plain-text version |
|---|---|---|
| File type | .html or .htm | .txt |
| Encoding | UTF-8 | UTF-8 |
| Size | 100 KB or smaller. Gmail cuts off emails over about 100 KB, and your email is bigger than your file once the placeholders are filled in, so leave some room. | 100 KB or smaller |
| Session link | Must include {{SESSION_URL}} | Must include {{SESSION_URL}} |
| Placeholders | Only those listed above | Only those listed above, except {{QR_CODE}} |
A file that breaks any of these is rejected when you upload or test it, with a message for each problem, and isn't saved. We only check that {{SESSION_URL}} is in the file, not that the customer can see or click it, so check that in your test email.
Mail clients support far less HTML than browsers. For a template that shows well in most of them:
- Lay it out with tables, and put styles inline, on each element. Many mail clients ignore
<style>blocks and stylesheets. - Don't use JavaScript or forms. Mail clients remove them.
- Host your images yourself, such as your logo, over
https://, and use their full URLs. Apart from the QR code, images can't be attached. Many mail clients hide images until the reader allows them, so don't put anything the customer needs in an image. - Give each image
alttext and awidthandheight, so your layout holds while images are hidden. - Don't embed images as
data:URIs. Gmail and Outlook don't show them.
Starter templates
To start, download our starter templates, which use your primary colour and the QR code, and change them to suit you:
You can also download your own file, or EyeDP's default, from the Portal or the API.
Testing your template
Before you save a file, send yourself a test email of it. Testing needs ADV to be enabled for your organisation.
- In the Portal: choose the file, pick HTML or Plain text under "Send a test email", and select Send test email. It goes to your own email address.
- Through the API: call
POST /api/client/adv-email-template/{format}/testwith the file and an address on one of your organisation's valid email domains, or a subdomain of one.
A test email is your file with your primary colour and the placeholders filled in. Its link and QR code go to EyeDP's website rather than an ID check.
Once your Sender Email Address is verified, or while its status is unknown, a test is sent from it, under your organisation's name. If it can't be sent from your address, the test fails, rather than being sent from EyeDP's address, so you know your address isn't working. Otherwise, a test is sent from EyeDP's address and name, so you can try your design before your address is verified. Your customers get EyeDP's design until your address is verified.
It contains only the version you're testing: an HTML test has no plain-text version, and a plain-text test has no HTML version, though it has the QR code attached. Your customers' emails always contain both. Spam filters are a little stricter with emails that have only one version, especially HTML only, so if a test doesn't arrive, check your junk folder.
In a test from the Portal, {{CUSTOMER}} and {{CASE_MANAGER}} are both your own first name. Through the API, {{CUSTOMER}} is the customerName you send, or "Test Customer", and {{CASE_MANAGER}} is the first name of the user your API credentials belong to.
Test emails are logged
We log every test email, with who sent it, which version it tested, and the recipient's address masked, for example a*****[email protected]. We log uploading and removing your files too. Your organisation can send up to 10 test emails an hour, counted from the first. A test refused by the checks doesn't count, but one we tried to send and couldn't does.
If we can't load your file when an email is sent, for example during an outage on our side, we send EyeDP's version of that part instead, so your customer still gets their link.
INFO
Without an uploaded template, ADV emails use EyeDP's design. Removing your file goes back to EyeDP's for that part.

