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

Throws