VerifyIdentityDocumentInput

public struct VerifyIdentityDocumentInput : Hashable

Input for verifyIdentityDocument(input:)

  • Image of front of government ID document.

    Declaration

    Swift

    public let image: Data
  • Image of back of government ID document.

    Declaration

    Swift

    public let backImage: Data
  • Image of person’s face, for comparison with ID.

    Declaration

    Swift

    public let faceImage: Data?
  • ISO 3166-1 alpha-2 country code, e.g US.

    Declaration

    Swift

    public let country: String
  • Type of ID document being presented.

    Declaration

    Swift

    public let documentType: IdDocumentType