# Square Customer Merge: Impact on Cards API IDs and CreatePayment

**URL:** <https://developer.squareup.com/forums/t/square-customer-merge-impact-on-cards-api-ids-and-createpayment/28327>\
**Category:** Questions\
**Tags:** customers-api, payments-api, cards-api\
**Created:** [October 24, 2026, 7:19pm UTC](https://developer.squareup.com/forums/t/square-customer-merge-impact-on-cards-api-ids-and-createpayment/28327 "2026-10-24T19:19:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrizzo10](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@nrizzo10](https://developer.squareup.com/forums/u/nrizzo10)\
**Post date:** [October 24, 2026, 7:19pm UTC](https://developer.squareup.com/forums/t/square-customer-merge-impact-on-cards-api-ids-and-createpayment/28327/1 "2026-10-24T19:19:37Z")

</div>

We store Square customer IDs and card-on-file IDs (Cards API) and charge with `CreatePayment` using `source_id` = card ID and `customer_id` = our stored customer ID.

Your “Duplicate customer profiles” page says a merged customer’s old ID returns the new merged customer ID through the Customers API, but it does not describe the Cards API or Payments API.

For a card that was created on customer A, after A is merged into new customer C (manually or automatically):

1. Does the card’s ID change, or is it the same card ID?

2. Is the Card object’s `customer_id` field updated to C, or does it still read A?

3. What does `ListCards` return when filtered by `customer_id` = A? By `customer_id` = C?

4. Does `CreatePayment` succeed with `source_id` = that card and `customer_id` = A? With `customer_id` = C? Which does Square expect?

5. Is any of this different between API versions `2026-08-19` and the current version? We are on `2026-08-19`.

6. Does a merge fire any `card.*` webhook, or does a card’s record change in any way we could detect?

Please also confirm which of these behaviors are officially supported and expected to remain stable in production, rather than merely observed in testing, so we can implement reliable customer-merge handling.

---

<div class="post-metadata">

**Author:** ![jaeha](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jaeha](https://developer.squareup.com/forums/u/jaeha)\
**Post date:** [October 26, 2026, 9:08am UTC](https://developer.squareup.com/forums/t/square-customer-merge-impact-on-cards-api-ids-and-createpayment/28327/3 "2026-10-26T09:08:44Z")

</div>

Welcome to the Developer Forum!

1. The card ID stays the same.
2. `card.customer_id` retains A.
3. `ListCards` with either A or C searches cards across the merged customer group. Returned cards retain their stored customer IDs.
4. `CreatePayment` accepts either A or C for that card because both resolve to the same customer. Prefer C for new requests.
5. No difference in this merge handling between `2026-08-19` and `2026-09-16`.
6. The merge itself does not update the card record or generate a `card.*` event. Detect merges through [`customer.created` and its merge context](https://developer.squareup.com/docs/customers-api/use-the-api/customer-webhooks#notifications-for-customer-profile-merge-events), and retain old-to-current customer ID mappings.

Hope this helps!
