Delete saved credit card information

oskayoskay Member
How can I delete a customer's saved credit card information?
  • fc_adamfc_adam FoxyCart Team

    I believe you've got this sorted now from our email discussion - but I wanted to answer here too in case someone else comes across your thread.

    To delete a customer's saved payment details - currently that is possible only using our API. From the customer's default payment method resource (available as a linked relation from the customer resource), you can perform a PATCH request and pass a JSON payload like this:

    "save_cc": false

    That will clear out the customers saved payment information if successful. Their customer account will remain though.
Sign In or Register to comment.