AccountDossierUploadRequest
public enum AccountDossierUploadRequest : Sendable
Data model to setup dossier upload.
-
The data needed to create a dossier.
Declaration
Swift
case create( accountUuid: String, isPrimary: Bool, externalId: String, realTimeVerification: Bool = false, countryOfIssuance: String? = nil )Parameters
accountUuidThe user account id.
isPrimaryWhether the dossier is primary or not. There can only be one primary dossier.
externalIdThis is your unique ID for this dossier. This field is used to guarantee idempotency.
realTimeVerificationWhether the dossier should be verified in real time.
countryOfIssuanceThe country of issuance.
-
The data needed to update a dossier.
Declaration
Swift
case update( accountUuid: String, dossierUuid: String, externalId: String? = nil, realTimeVerification: Bool = false, countryOfIssuance: String? = nil )Parameters
accountUuidThe user account id.
dossierUuidThe account dossier id.
externalIdThis is your unique ID for this dossier. This field is used to guarantee idempotency.
realTimeVerificationWhether the dossier should be verified in real time.
countryOfIssuanceThe country of issuance.
-
The data needed to replace a dossier.
Declaration
Swift
case replace( accountUuid: String, dossierUuid: String, externalId: String? = nil, realTimeVerification: Bool = false, countryOfIssuance: String? = nil )Parameters
accountUuidThe user account id.
dossierUuidThe account dossier id.
externalIdThis is your unique ID for this dossier. This field is used to guarantee idempotency.
realTimeVerificationWhether the dossier should be verified in real time.
countryOfIssuanceThe country of issuance.
View on GitHub