Introducing the Chargebee CLI

How do you delete the payment source for individual customers?

Problem Statement

This article explains how to delete the payment source for individual customers.

Solution

To delete a payment source, you can remove it from the customer’s account in Chargebee using either the UI or the API.

Via the UI

On the customer page, navigate to the Customers tab, load the customer, and click Delete to remove the payment source.

Via the API

Use the Delete a payment source API to remove a specific payment method from a customer's account.