Delete Stored Payment Method

Deletes a stored payment method associated with a payer. This operation is useful for removing outdated or unused payment methods, ensuring that only valid and current payment options are available for transactions.

Path parameters

payerIdstringRequired
The unique identifier for the payer.
paymentMethodTokenstringRequired
The token representing the payment method to delete.

Response

Payment method deleted successfully.
analyticsIdstring
Unique analytics identifier corresponding to a payment method.
createdAtdatetime

Creation date & time of the object (UTC).

customerIdstring
The ID representing the customer.
defaultboolean
Whether or not this payment method is the default.
deletedboolean
Whether or not this object has been revoked.
deletedAtdatetime

Date & time when this object was revoked (UTC).

descriptionstring
A friendly description given by the user.
isVerifiedboolean
Whether or not this payment method was verified.
paymentMethodDataobject
paymentMethodTypestring
Payment method type associated with a token.
tokenstring
The vaulted payment method token.
tokenTypestring

Type of the token (e.g., MULTI_USE).

Errors

400
Bad Request Error
404
Not Found Error