TYPESCRIPT
Configures an instance of VaultManager
, which can then 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)
Returns
The configure
method performs the configuration of the Vault Manager and returns a Promise of void
.
Example
TYPESCRIPT