Merge customers: is there an API event that we can subscribe to so that if Square or the merchant automatically merges the customers, we get notified? Or do we keep referencing the old customer ID we created for it and it will show as the merged customer?
Here’s what I was thinking for the user:
Option 1:
- user creates an account in the app
- we check if a square customer with this email or phone number exists with the list customer API
- if it exists: we store that customer ID, if it does not then we create a new customer ID for this user
Option 2:
- user creates an account in the app
- when the person pays, we create a new customer ID
- we keep referencing the newly created customer ID (which could be a duplicate customer) and Square will know where to locate it on the merged customer ID