Delete a saved payment method

DELETE

Delete a saved payment method.

Path parameters

paymentMethodTokenstringRequired

Saved payment method token to delete.

Response

This endpoint returns an object.
createdAtdatetimeOptional

Creation date & time of the object (UTC)

deletedAtdatetimeOptional

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

deletedbooleanOptional

Whether or not this object has been revoked.

tokenstringOptional

The vaulted payment method token.

tokenTypestringOptional
  • MULTI_USE a vaulted token that can be re-used with subsequent payments
analyticsIdstringOptional

Unique analytics identifier corresponding to a payment method

paymentMethodTypeenumOptional

Payment method type associated with a token.

paymentMethodDataobjectOptional

Payment method data

customerIdstringOptional

The ID representing the customer

descriptionstringOptional

A friendly description given by the user

defaultbooleanOptional

Whether or not this payment method is the default

Errors