Is there any function for DeleteCustomerCard


I am trying to upgrade the Square gateway in a project. In old version, we used “DeleteCustomerCardAsync” function which was under the CustomerApi category. Now it deprecated.
And in CardAPIs, I didn’t see any function for deleting customer card. Is there such a function any more?


With the Cards API there isn’t a DeleteCard there is only DisableCard. :slightly_smiling_face:

Thanks for answering so fast.
Another question: Do you mean there is no delete card method?
And, if I use DisableCard, then what happen if user try to add that card again?


If a card is disabled and the customer adds the same card it will create a new card for the customer. The disabled card will remain disabled. :slightly_smiling_face:

1 Like