There seems to be some weirdness around the ways cards are handled in the API.
After merging customers it seems like the customer_id in the Card object is not updated and so points to a non-existent customer. However when you retrieve the newly created Customer object it contains an element ‘cards’ that includes the card id.
The ‘cards’ element for Customer objects only seems to be returned when using the .get endpoint, not when using list or search but it doesn’t appear in the documentation anywhere that I can see.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.