additionalData
for a given vaultedPaymentMethodId
.
validate
method performs validation operation for the given vaultedPaymentMethodId
and additionalData
.
Returns a Promise of ValidationError[]
.
In case of successful operation, this method will return:
ValidationError
objects.
These objects represent specific validation errors or issues associated with the payment method data.
VaultManager
needs to be configured before validate
can be called.
Refer to the following example for configuring the VaultManager
.