PersonalDocumentData is a JSON Structure definition published by Adyen, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/notifications-personal-document-data-structure.json",
"description": "PersonalDocumentData schema from Adyen API",
"type": "object",
"properties": {
"expirationDate": {
"description": "The expiry date of the document, \n in ISO-8601 YYYY-MM-DD format. For example, **2000-01-31**.",
"type": "string"
},
"issuerCountry": {
"description": "The country where the document was issued, in the two-character \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **NL**.",
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"issuerState": {
"description": "The state where the document was issued (if applicable).",
"type": "string"
},
"number": {
"description": "The number in the document.",
"type": "string"
},
"type": {
"description": "The type of the document. Possible values: **ID**, **DRIVINGLICENSE**, **PASSPORT**, **SOCIALSECURITY**, **VISA**.\n\nTo delete an existing entry for a document `type`, send only the `type` field in your request. ",
"enum": [
"DRIVINGLICENSE",
"ID",
"PASSPORT",
"SOCIALSECURITY",
"VISA"
],
"type": "string"
}
},
"required": [
"type"
],
"name": "PersonalDocumentData"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.