customerId
attached to the client session by id.
You can get the id from any instance of PrimerVaultedPaymentMethod
returned by fetchVaultedPaymentMethods.
KOTLIN
Parameters
Returns
ThedeleteVaultedPaymentMethod
method performs the deletion of vaulted payment method and returns a result object of
type Result.
The Result class represents the outcome of the operation, indicating success
or failure
.
By inspecting the returned Result object, you can determine the success or failure of the deletion of the vaulted payment method.
This allows you to handle different scenarios based on the result.
Example
Refer to the following example for fetching vaulted payment methods.KOTLIN