Get an instance of Vault Manager
, which can be used to:
- fetch a list of vaulted payment methods for the
customerId
attached to the client session - delete a vaulted payment method for the
customerId
attached to the client session - perform a payment using a vaulted payment method and additional data (e.g. CVV)
- validate the additional data used to perform a payment (e.g. validate CVV)
123
@Throws(SdkUninitializedException::class, VaultManagerInitException::class)@JvmStaticfun newInstance(): PrimerHeadlessUniversalCheckoutVaultManagerInterface
kotlin
copy
Throws
An exception that will be thrown in case the SDK was not initialized properly. Before calling any of the manager's method, the SDK must be initialized using start method.
An exception that will be thrown in case the Vault Manager was not initialized properly. Before calling any of the manager's method, the client session must be created with valid customer id.