You can delete a customer using its ID. When a customer is deleted, all associated payment methods are also deleted, and all associated recurring billing subscriptions are canceled.
gateway.customer.delete("theCustomerId", (err) => {
err;
// null
});
If the customer can't be found, it will return a notFoundError
.