Adyen · JSON Structure

Legal Entity Attachment Structure

Attachment schema from Adyen API

Type: object Properties: 5 Required: 1
PaymentsFinancial ServicesFintech

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.

Properties

content contentType filename pageName pageType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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"
}