Attachment 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/legal-entity-attachment-structure.json",
"description": "Attachment schema from Adyen API",
"type": "object",
"properties": {
"content": {
"description": "The document in Base64-encoded string format.",
"format": "byte",
"type": "string"
},
"contentType": {
"deprecated": true,
"x-deprecatedInVersion": "1",
"description": "The file format.\n\n Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. ",
"type": "string"
},
"filename": {
"deprecated": true,
"x-deprecatedInVersion": "1",
"description": "The name of the file including the file extension.",
"type": "string"
},
"pageName": {
"x-addedInVersion": "2",
"description": "The name of the file including the file extension.",
"type": "string"
},
"pageType": {
"description": "Specifies which side of the ID card is uploaded.\n\n* When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**.\n\n* When omitted, we infer the page number based on the order of attachments.",
"type": "string"
}
},
"required": [
"content"
],
"name": "Attachment"
}
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.