After creating an instance of the PrimerHeadlessUniversalCheckout.VaultManager you must call configure which will validate the session and notify you if anything is wrong.

1
func configure() throws
swift
copy

Throws

An error that will be thrown in case the SDK was not initialized properly. Before calling this method, the SDK must be initialized.
An error that will be thrown in case the client session is missing some required fields.