AccountDossierRequest
public struct AccountDossierRequest : Encodable
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 var externalId: String
-
Whether the dossier is primary or not. There can only be one primary dossier.
Declaration
Swift
public var isPrimary: Bool
-
Whether the dossier should be verified in real time.
Declaration
Swift
public var realTimeVerification: Bool
-
The list of primary documents to be added to the profile.
Declaration
Swift
public var documents: [Document]
-
Auxiliary constructor.
Declaration
Swift
public init(isPrimary: Bool, documents: [Document], externalId: String, realTimeVerification: Bool = false)
Parameters
isPrimary
Whether the dossier is primary or not. There can only be one primary dossier.
documents
The list of primary documents to be added to the profile.
externalId
This is your unique ID for this dossier. This field is used to guarantee idempotency.
realTimeVerification
Whether the dossier should be verified in real time. Default to
false
.