Delete payment method

Delete a payment method associated to the customer on-session.

Description

Use this protected endpoint to delete a payment method associated to the authenticated customer. Note that the deletable attribute must be set to true to be able to perform this operation. If the payment method has is_default attribute set to true or is associated to valid subscriptions, it cannot be deleted.

Returns a Payment method resource when successful.

Related webhook events

Related features


Language
Authorization
Query
Click Try It! to start a request and see the response here!