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

    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.