IdDataRequestV3

public struct IdDataRequestV3 : Encodable

Child structure of CustomerValidateIdDataRequestV3, CustomerValidateIdFaceMatchDataRequestV3, CustomerValidateIdRequestV3, and CustomerEnrollDataRequest.

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.

    Declaration

    Swift

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

    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?

Initialization

  • Designated initializer.

    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
    )

    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.