IdDataEnrollRequest

public struct IdDataEnrollRequest : Encodable

Child structure of CustomerEnrollBiometricsRequest.

Enumerations

  • ID type.

    See more

    Declaration

    Swift

    public enum IdType : String, Encodable

Properties

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

    Declaration

    Swift

    public var idType: IdType
  • This is the 3 digit ISO Country Code

    Declaration

    Swift

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

    Declaration

    Swift

    public var idState: String?
  • This should contain base64 data of the ID front image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

    Declaration

    Swift

    public var idImageFront: String
  • This should contain base64 data of the ID front image. Max allowed upload size is 2MB. Minimum resolution required is 800X600.

    Declaration

    Swift

    public var idImageBack: String?
  • ID Number.

    Declaration

    Swift

    public var idNumber: String?
  • ID Number.

    Declaration

    Swift

    public var idNumber2: String?
  • ID Issue Date. Date will be formatted as dd/mm/yyyy format.

    Declaration

    Swift

    public var issueDate: String?
  • ID Expiration Date. Date will be formatted as dd/mm/yyyy format.

    Declaration

    Swift

    public var expDate: String?
  • Declaration

    Swift

    public init(idType: IdType,
                idCountry: String,
                idState: String? = nil,
                idImageFront: String,
                idImageBack: String? = nil,
                idNumber: String? = nil,
                idNumber2: String? = nil,
                issueDate: String? = nil,
                expDate: String? = nil
    )