AccountDossier

public struct AccountDossier : Codable

This structure contains dossier information attached to an account in the system.

  • The uuid of the dossier.

    Declaration

    Swift

    public var dossierUuid: String
  • The uuid of the account this dossier belongs to.

    Declaration

    Swift

    public var accountUuid: String
  • Defines if this is the primary dossier of the account, indicating it contains the set of documents used for identity verification.

    Declaration

    Swift

    public var isPrimary: Bool
  • The status of the dossier.

    Declaration

    Swift

    public var statusString: String
  • The status of the dossier. Check statusString if nil.

    Declaration

    Swift

    public var status: DossierStatus? { get }
  • For any other status than .created or .deleted this property details the reason this dossier is in this status.

    Declaration

    Swift

    public var statusReason: String?
  • The external_id of the dossier in your system.

    Declaration

    Swift

    public var externalId: String
  • The date this dossier was created.

    Declaration

    Swift

    public var createdAt: String
  • The date this dossier was last updated.

    Declaration

    Swift

    public var updatedAt: String
  • The actual documents uploaded as part of this dossier.

    Declaration

    Swift

    public var documents: [Document]
  • Merged data extracted from the documents array via OCR.

    Declaration

    Swift

    public var extractedData: DocumentExtractedData? { get }