Structures

The following structures are available globally.

  • The address object for the individual

    See more

    Declaration

    Swift

    public struct Address
  • A collection of information about the individual from the inquiry

    See more

    Declaration

    Swift

    public struct Attributes
  • A collection of information about the individual from the inquiry

    See more

    Declaration

    Swift

    public struct Fields
  • The name object for the individual

    See more

    Declaration

    Swift

    public struct Name
  • Objects related to the Inquiry itself

    See more

    Declaration

    Swift

    public struct Relationships

Verification Types

  • If the individual is asked to provide a phone number in the inquiry flow, Persona will send a confirmation PIN code to that phone number and then check the number against public and private databases to confirm that the information provided is valid.

    See more

    Declaration

    Swift

    public struct PhoneNumberVerification : Verification
  • If the individual is asked to submit a government ID such as a driver license, national ID, or passport, Persona will inspect the ID for authenticity and extract the relevant information from it for additional consumption.

    See more

    Declaration

    Swift

    public struct GovernmentIdVerification : Verification
  • When the individual takes a video of their face in real-time, Persona will check that the individual is live and real. If the individual also submits a government ID, the face captured in the selfie is compared against the face in the government ID.

    See more

    Declaration

    Swift

    public struct SelfieVerification : Verification
  • When the individual is asked to submit a document as a proof of employment or proof of address, Persona will inspect the document for authenticity and extract the relevant information from it for additional consumption.

    See more

    Declaration

    Swift

    public struct DocumentVerification : Verification
  • If the individual is asked to provide a personal details in the inquiry flow, Persona will check them against public and private databases to confirm that the information provided is valid.

    See more

    Declaration

    Swift

    public struct DatabaseVerification : Verification
  • Defines the configuration for an Inquiry.

    See more

    Declaration

    Swift

    public struct InquiryConfiguration
  • Defines the color theme for an Inquiry.

    See more

    Declaration

    Swift

    public struct InquiryTheme