Primer home page
v2.x.x
Search...
⌘K
Ask AI
Contact Sales
Contact support
Contact support
Search...
Navigation
Vault manager
configure
Home
Documentation
API Reference
SDK Reference
Connections
Changelogs
Web SDK
iOS SDK
Android SDK
React Native SDK
iOS SDK
Installation
Primer
PrimerHeadlessUniversalCheckout
Properties
Methods
Delegates
Assets manager
Native UI manager
Raw data manager
Raw data manager delegate
NOL pay manager
Component with redirect manager
Klarna headless manager
ACH headless manager
Vault manager
init
configure
fetchVaultedPaymentMethods
deleteVaultedPaymentMethod
validate
startPaymentFlow
Common objects
On this page
Throws
iOS SDK
PrimerHeadlessUniversalCheckout
Vault manager
configure
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
Copy
Ask AI
func
configure
()
throws
Throws
Hide Throws
uninitializedSDKSession
An error that will be thrown in case the SDK was not initialized properly. Before calling this method, the SDK must be initialized.
invalidClientSessionValue
An error that will be thrown in case the client session is missing some required fields.
init
fetchVaultedPaymentMethods
Assistant
Responses are generated using AI and may contain mistakes.