# Cards point to old customer after merge

**URL:** <https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586>\
**Category:** Questions\
**Tags:** customers-api, cards-api\
**Created:** [May 29, 2025, 12:48pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586 "2025-05-29T12:48:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wjps](https://avatars.discourse-cdn.com/v4/letter/w/ea5d25/32.png) [@wjps](https://developer.squareup.com/forums/u/wjps)\
**Post date:** [May 29, 2025, 12:48pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/1 "2025-05-29T12:48:23Z")

</div>

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.

Is this expected behaviour?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [May 29, 2025, 12:48pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/2 "2025-05-29T12:48:42Z")

</div>

👋 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:

> **[Manage Customer Cards on File](https://developer.squareup.com/docs/cards-api/manage-cards)**
>
> The Cards API provides a set of endpoints for you to manage cards on file. You can retrieve card information, list cards on file, and disable a card.

> **[Integrate Customer Profiles with Other Services](https://developer.squareup.com/docs/customers-api/use-the-api/integrate-with-other-services)**
>
> Learn how to integrate customer profiles with the Square Orders API and Payments API.

> **Additional Documentation**
>
> [Customers API](https://developer.squareup.com/docs/customers-api/what-it-does)  
> [Customers API](https://developer.squareup.com/docs/customers-api/use-the-api/get-started)  
> [Customers API](https://developer.squareup.com/docs/customers-api/build-with-customers)

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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 29, 2025, 6:13pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/3 "2025-05-29T18:13:23Z")

</div>

Do you have an example `customer_id` that your seeing this behavior? 🙂

---

<div class="post-metadata">

**Author:** ![wjps](https://avatars.discourse-cdn.com/v4/letter/w/ea5d25/32.png) [@wjps](https://developer.squareup.com/forums/u/wjps)\
**Post date:** [May 29, 2025, 7:55pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/4 "2025-05-29T19:55:14Z")

</div>

Sure, here’s a few…

old\_id / new\_id  
1M133P6JTVS4PTN6DVWXATYPJR / CTSY2W0VFD5B5CPG6T9X9XYDR0

QDH0GVHP19C618BA0B3EQ4N2TR / XMGT4S9RM54CQ1CZHQC26G5F7M

6H40CEMRV54KDE0NGESR0GVDQ4 / T42C3YHN2P0NTCCGWGEPWQQ8NM

30WQTGF2DFR1BBA90RWN5ASN5R / CTQ3HK6J0H3VN5J6N6F0Q60K08

---

<div class="post-metadata">

**Author:** ![wjps](https://avatars.discourse-cdn.com/v4/letter/w/ea5d25/32.png) [@wjps](https://developer.squareup.com/forums/u/wjps)\
**Post date:** [June 10, 2025, 3:30pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/5 "2025-06-10T15:30:50Z")

</div>

Any progress on this issue?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [June 10, 2025, 9:11pm UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/6 "2025-06-10T21:11:15Z")

</div>

What’s your application ID? 🙂

---

<div class="post-metadata">

**Author:** ![wjps](https://avatars.discourse-cdn.com/v4/letter/w/ea5d25/32.png) [@wjps](https://developer.squareup.com/forums/u/wjps)\
**Post date:** [June 11, 2025, 7:31am UTC](https://developer.squareup.com/forums/t/cards-point-to-old-customer-after-merge/22586/7 "2025-06-11T07:31:58Z")

</div>

sq0idp-amvFIRI3Mvn7lkEMaDrAgA
