id
from any instance of VaultedPaymentMethod
returned by fetchVaultedPaymentMethods.
Upon a successful invocation of this function, the SDK will automatically trigger the standard payment callbacks.
additionalData
when starting a payment flow. For example,
you might need to pass CVV which can be recommended to increase auth rates.
Make sure that additionalData
is validated before being passed to this method.
startPaymentFlow
method initiates the payment process using the provided vaultedPaymentMethodId
.
This method is responsible for beginning the payment flow associated with a specific payment method stored in the vault.
Returns a Promise of void
.
VaultManager
needs to be configured before validate
can be called.
Refer to the following example for configuring the VaultManager
.