IdDataRequestV3
public struct IdDataRequestV3 : Encodable
Child structure of CustomerValidateIdDataRequestV3, CustomerValidateIdFaceMatchDataRequestV3, CustomerValidateIdRequestV3, and CustomerEnrollDataRequest.
-
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?
-
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
idTypeThis is the code value of the ID type being submitted.
idCountryThis is the 3 digit ISO Country Code
idStateTo help with targeting matching, recommended to be sent when the idCountry equals USA, CAN or AUS and idType equals PID or DL
idImageFrontThis should contain base64 data of the ID front image. Max allowed upload size is 2MB.
idImageBackThis should contain base64 data of the ID front image. Max allowed upload size is 2MB.
idNumberID Number.
idNumber2ID Number.
issueDateID Issue Date. Date will be formatted as dd/mm/yyyy format.
expDateID Expiration Date. Date will be formatted as dd/mm/yyyy format.
IdDataRequestV3 Structure Reference