AccountDossier
public struct AccountDossier : Codable, Sendable
This structure contains dossier information attached to an account in the system.
-
The uuid of the dossier.
Declaration
Swift
public let dossierUuid: String
-
The uuid of the account this dossier belongs to.
Declaration
Swift
public let 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 let isPrimary: Bool
-
The status of the dossier.
Declaration
Swift
public let statusString: String
-
The status of the dossier. Check
statusString
ifnil
.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 let statusReason: String?
-
The external_id of the dossier in your system.
Declaration
Swift
public let externalId: String
-
The date this dossier was created.
Declaration
Swift
public let createdAt: String
-
The date this dossier was last updated.
Declaration
Swift
public let updatedAt: String
-
The actual documents uploaded as part of this dossier.
Declaration
Swift
public let documents: [Document]
-
Merged data extracted from the documents array via OCR.
Declaration
Swift
public var extractedData: DocumentExtractedData? { get }