IdDataRequest

public struct IdDataRequest : Encodable

Child structure of CustomerValidateIdDataRequest, CustomerValidateIdFaceMatchDataRequest, CustomerValidateIdRequest, 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?
  • This should contain base64 data of the Customer id Front Video Data. It accepts base64 data.

    Declaration

    Swift

    public var videoIdImageFront: String?
  • This should contain base64 data of the Customer id back Video Data. It accepts base64 data.

    Declaration

    Swift

    public var videoIdImageBack: 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,
                videoIdImageFront: String? = nil,
                videoIdImageBack: 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.

    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.