Customer

Customer: Delete

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.
  1. Ruby
result = gateway.customer.delete("the_customer_id")
if result.success?
  puts "customer successfully deleted"
end
Arguments
customer_idrequired, String
A string value representing an existing customer in your Vault.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more