# GenericCustomerData Structure Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Structs/GenericCustomerData.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Structs/GenericCustomerData
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="genericcustomerdata"></a>

# GenericCustomerData

```
public struct GenericCustomerData : Encodable
```

<a id="/Properties"></a>

[]()

<a id="//apple_ref/swift/Section/Properties"></a>

[]()

[](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/GenericCustomerData.md#/Properties)

<a id="properties"></a>

### Properties

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV6selfieSSSgvp"></a>

  <a id="//apple_ref/swift/Property/selfie"></a>

  `selfie`

  This should contain base64 data of the customer photo. It accepts base64 data of a single customer photo. Max allowed upload size is 2MB.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  public var selfie: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV9nfcSelfieSSSgvp"></a>

  <a id="//apple_ref/swift/Property/nfcSelfie"></a>

  `nfcSelfie`

  This should contain NFC Chip base64 data of the customer photo. It accepts base64 data of a single customer photo. Max allowed upload size is 2MB.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  public var nfcSelfie: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV12idImageFrontSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idImageFront"></a>

  `idImageFront`

  This should contain base64 data of the ID front image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  public var idImageFront: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV11idImageBackSSSgvp"></a>

  <a id="//apple_ref/swift/Property/idImageBack"></a>

  `idImageBack`

  This should contain base64 data of the ID front image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  public var idImageBack: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV21secondaryIdImageFrontSSSgvp"></a>

  <a id="//apple_ref/swift/Property/secondaryIdImageFront"></a>

  `secondaryIdImageFront`

  This should contain base64 data of the secondary ID front image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

  <a id="declaration-5"></a>

  #### Declaration

  Swift

  ```
  public var secondaryIdImageFront: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV20secondaryIdImageBackSSSgvp"></a>

  <a id="//apple_ref/swift/Property/secondaryIdImageBack"></a>

  `secondaryIdImageBack`

  This should contain base64 data of the secondary ID back image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

  <a id="declaration-6"></a>

  #### Declaration

  Swift

  ```
  public var secondaryIdImageBack: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV17videoIdImageFrontSSSgvp"></a>

  <a id="//apple_ref/swift/Property/videoIdImageFront"></a>

  `videoIdImageFront`

  This should contain base64 data of the Customer id Front Video Data. It accepts base64 data.

  <a id="declaration-7"></a>

  #### Declaration

  Swift

  ```
  public var videoIdImageFront: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV16videoIdImageBackSSSgvp"></a>

  <a id="//apple_ref/swift/Property/videoIdImageBack"></a>

  `videoIdImageBack`

  This should contain base64 data of the Customer id back Video Data. It accepts base64 data.

  <a id="declaration-8"></a>

  #### Declaration

  Swift

  ```
  public var videoIdImageBack: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV011fingerPrintF0AA06FingerhF0VSgvp"></a>

  <a id="//apple_ref/swift/Property/fingerPrintData"></a>

  `fingerPrintData`

  Fingerprint data.

  <a id="declaration-9"></a>

  #### Declaration

  Swift

  ```
  public var fingerPrintData: FingerPrintData?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV05voiceF0SSSgvp"></a>

  <a id="//apple_ref/swift/Property/voiceData"></a>

  `voiceData`

  This should contain base64 data of the Customer Voice Data. It accepts base64 data.

  <a id="declaration-10"></a>

  #### Declaration

  Swift

  ```
  public var voiceData: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV05videoF0SSSgvp"></a>

  <a id="//apple_ref/swift/Property/videoData"></a>

  `videoData`

  This should contain base64 data of the Customer Video Data. It accepts base64 data.

  <a id="declaration-11"></a>

  #### Declaration

  Swift

  ```
  public var videoData: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV14voiceStartTimeSiSgvp"></a>

  <a id="//apple_ref/swift/Property/voiceStartTime"></a>

  `voiceStartTime`

  Audio/Speech capture start time.

  <a id="declaration-12"></a>

  #### Declaration

  Swift

  ```
  public var voiceStartTime: Int?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV17expectedAudioTextSSSgvp"></a>

  <a id="//apple_ref/swift/Property/expectedAudioText"></a>

  `expectedAudioText`

  This should contain base64 data of the Customer expected audio text. It accepts base64 data.

  <a id="declaration-13"></a>

  #### Declaration

  Swift

  ```
  public var expectedAudioText: String?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV8metadataAA8MetadataVSgvp"></a>

  <a id="//apple_ref/swift/Property/metadata"></a>

  `metadata`

  Additional ID and/or Selfie Capture image metadata.

  <a id="declaration-14"></a>

  #### Declaration

  Swift

  ```
  public var metadata: Metadata?
  ```

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV11ocrMetadataSSSgvp"></a>

  <a id="//apple_ref/swift/Property/ocrMetadata"></a>

  `ocrMetadata`

  Additional decoded MRZ and/or Barcode metadata.

  <a id="declaration-15"></a>

  #### Declaration

  Swift

  ```
  public var ocrMetadata: String?
  ```

<a id="/Initialization"></a>

[]()

<a id="//apple_ref/swift/Section/Initialization"></a>

[]()

[](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/GenericCustomerData.md#/Initialization)

<a id="initialization"></a>

### Initialization

- <a id="/s:17IDentitySDK_Swift19GenericCustomerDataV6selfie9nfcSelfie12idImageFront0jK4Back011secondaryIdkL00nokM005videookL00pokM0011fingerPrintF005voiceF00pF00S9StartTime17expectedAudioText8metadata11ocrMetadataACSSSg_A7sA06FingerrF0VSgA2SSiSgAsA8MetadataVSgAStcfc"></a>

  <a id="//apple_ref/swift/Method/init(selfie:nfcSelfie:idImageFront:idImageBack:secondaryIdImageFront:secondaryIdImageBack:videoIdImageFront:videoIdImageBack:fingerPrintData:voiceData:videoData:voiceStartTime:expectedAudioText:metadata:ocrMetadata:)"></a>

  `init(selfie:nfcSelfie:idImageFront:idImageBack:secondaryIdImageFront:secondaryIdImageBack:videoIdImageFront:videoIdImageBack:fingerPrintData:voiceData:videoData:voiceStartTime:expectedAudioText:metadata:ocrMetadata:)`

  Designated initializer.

  <a id="declaration-16"></a>

  #### Declaration

  Swift

  ```
  public init(selfie: String? = nil,
              nfcSelfie: String? = nil,
              idImageFront: String? = nil,
              idImageBack: String? = nil,
              secondaryIdImageFront: String? = nil,
              secondaryIdImageBack: String? = nil,
              videoIdImageFront: String? = nil,
              videoIdImageBack: String? = nil,
              fingerPrintData: FingerPrintData? = nil,
              voiceData: String? = nil,
              videoData: String? = nil,
              voiceStartTime: Int? = nil,
              expectedAudioText: String? = nil,
              metadata: Metadata? = nil,
              ocrMetadata: String? = nil
  )
  ```

  <a id="parameters"></a>

  #### Parameters

  |                         |                                                                                                                                                     |
  | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `selfie`                | This should contain base64 data of the customer photo. It accepts base64 data of a single customer photo. Max allowed upload size is 2MB.           |
  | `nfcSelfie`             | This should contain NFC Chip base64 data of the customer photo. It accepts base64 data of a single customer photo. Max allowed upload size is 2MB.  |
  | `idImageFront`          | This should contain base64 data of the ID front image. Max allowed upload size is 2MB.                                                              |
  | `idImageBack`           | This should contain base64 data of the ID back image. Max allowed upload size is 2MB.                                                               |
  | `secondaryIdImageFront` | This should contain base64 data of the secondary ID front image. Max allowed upload size is 2MB.                                                    |
  | `secondaryIdImageBack`  | This should contain base64 data of thesecondary ID back image. Max allowed upload size is 2MB.                                                      |
  | `videoIdImageFront`     | This should contain base64 data of the Customer id Front Video Data. It accepts base64 data.                                                        |
  | `videoIdImageBack`      | This should contain base64 data of the Customer id back Video Data. It accepts base64 data.                                                         |
  | `fingerPrintData`       | Fingerprint data.                                                                                                                                   |
  | `voiceData`             | This should contain base64 data of the Customer Voice Data. It accepts base64 data.                                                                 |
  | `videoData`             | This should contain base64 data of the Customer Video Data. It accepts base64 data.                                                                 |
  | `voiceStartTime`        | Audio/Speech capture start time.                                                                                                                    |
  | `expectedAudioText`     | This should contain base64 data of the Customer expected audio text. It accepts base64 data.                                                        |
  | `metadata`              | Additional ID and/or Selfie Capture image metadata.                                                                                                 |
  | `ocrMetadata`           | Additional decoded MRZ and/or Barcode metadata.                                                                                                     |

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-10-16)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
