AccountDossierRequest
public struct AccountDossierRequest : Encodable, Sendable
Model that holds the data used to add documents.
-
This is your unique ID for this dossier. This field is used to guarantee idempotency.
Declaration
Swift
public let externalId: String -
Whether the dossier is primary or not. There can only be one primary dossier.
Declaration
Swift
public let isPrimary: Bool -
Whether the dossier should be verified in real time.
Declaration
Swift
public let realTimeVerification: Bool -
The list of primary documents to be added to the profile.
Declaration
Swift
public let documents: [Document] -
Auxiliary constructor.
Declaration
Swift
public init(isPrimary: Bool, documents: [Document], externalId: String, realTimeVerification: Bool = false)Parameters
isPrimaryWhether the dossier is primary or not. There can only be one primary dossier.
documentsThe list of primary documents to be added to the profile.
externalIdThis is your unique ID for this dossier. This field is used to guarantee idempotency.
realTimeVerificationWhether the dossier should be verified in real time. Default to
false.
View on GitHub