# IdDataEnrollRequest 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/IdDataEnrollRequest.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Structs/IdDataEnrollRequest
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="iddataenrollrequest"></a>

# IdDataEnrollRequest

```
public struct IdDataEnrollRequest : Encodable
```

Child structure of `CustomerEnrollBiometricsRequest`.

<a id="/Enumerations"></a>

[]()

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

[]()

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

<a id="enumerations"></a>

### Enumerations

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

  <a id="//apple_ref/swift/Enum/IdType"></a>

  `IdType`

  ID type.

  [See more](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/IdDataEnrollRequest/IdType.md)

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

  #### Declaration

  Swift

  ```
  public enum IdType : String, Encodable
  ```

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

[]()

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

[]()

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

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

### Properties

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

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

  `idType`

  This is the code value of the ID type being submitted.

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

  #### Declaration

  Swift

  ```
  public var idType: IdType?
  ```

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

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

  `idCountry`

  This is the 3 digit ISO Country Code

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

  #### Declaration

  Swift

  ```
  public var idCountry: String?
  ```

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

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

  `idState`

  To help with targeting matching, recommended to be sent when the idCountry equals USA, CAN or AUS and idType equals PID or DL

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

  #### Declaration

  Swift

  ```
  public var idState: String?
  ```

- <a id="/s:17IDentitySDK_Swift19IdDataEnrollRequestV12idImageFrontSSSgvp"></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-5"></a>

  #### Declaration

  Swift

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

- <a id="/s:17IDentitySDK_Swift19IdDataEnrollRequestV11idImageBackSSSgvp"></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-6"></a>

  #### Declaration

  Swift

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

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

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

  `idNumber`

  ID Number.

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

  #### Declaration

  Swift

  ```
  public var idNumber: String?
  ```

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

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

  `idNumber2`

  ID Number.

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

  #### Declaration

  Swift

  ```
  public var idNumber2: String?
  ```

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

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

  `issueDate`

  ID Issue Date. Date will be formatted as dd/mm/yyyy format.

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

  #### Declaration

  Swift

  ```
  public var issueDate: String?
  ```

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

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

  `expDate`

  ID Expiration Date. Date will be formatted as dd/mm/yyyy format.

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

  #### Declaration

  Swift

  ```
  public var expDate: String?
  ```

- <a id="/s:17IDentitySDK_Swift19IdDataEnrollRequestV05videoD10ImageFrontSSSgvp"></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-11"></a>

  #### Declaration

  Swift

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

- <a id="/s:17IDentitySDK_Swift19IdDataEnrollRequestV05videoD9ImageBackSSSgvp"></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-12"></a>

  #### Declaration

  Swift

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

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

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

  `idFrontIrImage`

  This should contain base64 data of the Customer id front IR image. It accepts base64 data.

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

  #### Declaration

  Swift

  ```
  public var idFrontIrImage: String?
  ```

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

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

  `idBackIrImage`

  This should contain base64 data of the Customer id back IR image. It accepts base64 data.

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

  #### Declaration

  Swift

  ```
  public var idBackIrImage: String?
  ```

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

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

  `idFrontUvImage`

  This should contain base64 data of the Customer id front UV image. It accepts base64 data.

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

  #### Declaration

  Swift

  ```
  public var idFrontUvImage: String?
  ```

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

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

  `idBackUvImage`

  This should contain base64 data of the Customer id back UV image. It accepts base64 data.

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

  #### Declaration

  Swift

  ```
  public var idBackUvImage: String?
  ```

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

[]()

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

[]()

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

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

### Initialization

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

  <a id="//apple_ref/swift/Method/init(idType:idCountry:idState:idImageFront:idImageBack:idNumber:idNumber2:issueDate:expDate:videoIdImageFront:videoIdImageBack:idFrontIrImage:idBackIrImage:idFrontUvImage:idBackUvImage:)"></a>

  `init(idType:idCountry:idState:idImageFront:idImageBack:idNumber:idNumber2:issueDate:expDate:videoIdImageFront:videoIdImageBack:idFrontIrImage:idBackIrImage:idFrontUvImage:idBackUvImage:)`

  Designated initializer.

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

  #### Declaration

  Swift

  ```
  public init(idType: IdType? = nil,
              idCountry: String? = nil,
              idState: String? = nil,
              idImageFront: String? = nil,
              idImageBack: String? = nil,
              idNumber: String? = nil,
              idNumber2: String? = nil,
              issueDate: String? = nil,
              expDate: String? = nil,
              videoIdImageFront: String? = nil,
              videoIdImageBack: String? = nil,
              idFrontIrImage: String? = nil,
              idBackIrImage: String? = nil,
              idFrontUvImage: String? = nil,
              idBackUvImage: String? = nil
  )
  ```

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

  #### Parameters

  |                     |                                                                                                                                |
  | ------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
  | `idType`            | This is the code value of the ID type being submitted.                                                                         |
  | `idCountry`         | This is the 3 digit ISO Country Code                                                                                           |
  | `idState`           | To help with targeting matching, recommended to be sent when the idCountry equals USA, CAN or AUS and idType equals PID or DL  |
  | `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 front image. Max allowed upload size is 2MB.                                         |
  | `idNumber`          | ID Number.                                                                                                                     |
  | `idNumber2`         | ID Number.                                                                                                                     |
  | `issueDate`         | ID Issue Date. Date will be formatted as dd/mm/yyyy format.                                                                    |
  | `expDate`           | ID Expiration Date. Date will be formatted as dd/mm/yyyy format.                                                               |
  | `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.                                    |
  | `idFrontIrImage`    | This should contain base64 data of the Customer id front IR image. It accepts base64 data.                                     |
  | `idBackIrImage`     | This should contain base64 data of the Customer id back IR image. It accepts base64 data.                                      |
  | `idFrontUvImage`    | This should contain base64 data of the Customer id front UV image. It accepts base64 data.                                     |
  | `idBackUvImage`     | This should contain base64 data of the Customer id back UV image. It accepts base64 data.                                      |

<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.
