# Can I access customers across sellers?

**URL:** <https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675>\
**Category:** Questions\
**Tags:** customers-api\
**Created:** [August 2, 2022, 9:29pm UTC](https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675 "2022-08-02T21:29:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgoetze](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cgoetze](https://developer.squareup.com/forums/u/cgoetze)\
**Post date:** [August 2, 2022, 9:29pm UTC](https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675/1 "2022-08-02T21:29:51Z")

</div>

I want to create an application that allows me to retrieve a list of recent purchases made by a user across any seller using Square. Is that possible? Glancing at the API documentation, it seems that Square requires you to stick to one seller’s account at a time.

It would look something like this:

1. User provides email + grants permission/consent
2. Look up email in Square DB and retrieve customer Square account
3. Display list of customer’s recent purchases at Square sellers

---

<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:** [August 2, 2022, 9:44pm UTC](https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675/2 "2022-08-02T21:44:49Z")

</div>

👋 With Square you’ll need to use [OAuth](https://developer.squareup.com/docs/oauth-api/overview) to allow your application access to the information in the Square sellers account. Once you’ve been OAuth’d then you’ll need to make a series of API calls to get all the Payments API [ListPayment](https://developer.squareup.com/reference/square/payments-api) and Orders API [SearchOrders](https://developer.squareup.com/reference/square/orders-api/search-orders) to get all the purchases for a customer. You’ll need to call both of the APIs cause the `customer_id` won’t alway’s be present in the order. 🙂

---

<div class="post-metadata">

**Author:** ![cgoetze](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cgoetze](https://developer.squareup.com/forums/u/cgoetze)\
**Post date:** [August 2, 2022, 9:50pm UTC](https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675/3 "2022-08-02T21:50:02Z")

</div>

Hi Bryan-- What if I don’t want to involve any particular seller at all? In other words, I’m trying to build a platform where users can sort of use Square like their “wallet”. I don’t want to use OAuth to connect to a Square seller because I want to connect directly with a Square customer, regardless of what Square sellers they may have purchased from in the past. Does that make sense?

---

<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:** [August 2, 2022, 9:58pm UTC](https://developer.squareup.com/forums/t/can-i-access-customers-across-sellers/6675/4 "2022-08-02T21:58:45Z")

</div>

Unfortunately, connecting to Square sellers customers directly isn’t available. Since the customer information is specific to a Square sellers account you have to be OAuth’d to access the customer information. 🙂
