# Get payments by customer\_id

**URL:** <https://developer.squareup.com/forums/t/get-payments-by-customer-id/21036>\
**Category:** Questions\
**Tags:** customers-api, payments-api\
**Created:** [February 12, 2025, 9:07pm UTC](https://developer.squareup.com/forums/t/get-payments-by-customer-id/21036 "2025-02-12T21:07:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayne](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shayne](https://developer.squareup.com/forums/u/shayne)\
**Post date:** [February 12, 2025, 9:07pm UTC](https://developer.squareup.com/forums/t/get-payments-by-customer-id/21036/1 "2025-02-12T21:07:20Z")

</div>

Is it possible to query payments associated with  
a customer\_id?

---

<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:** [February 12, 2025, 9:07pm UTC](https://developer.squareup.com/forums/t/get-payments-by-customer-id/21036/2 "2025-02-12T21:07:38Z")

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

> **[Retrieve Payments](https://developer.squareup.com/docs/payments-api/retrieve-payments)**
>
> Learn how to retrieve payments using the Payments API.

> **[Payments API Integration](https://developer.squareup.com/docs/pos-api/payments-integration)**
>
> Learn how to get payment details from a Point of Sale API transaction ID.

> **Additional Documentation**
>
> [Charge a Card on File](https://developer.squareup.com/docs/reader-sdk/cookbook/charge-cards-on-file)  
> [Integrate Customer Profiles with Other Services](https://developer.squareup.com/docs/customers-api/use-the-api/integrate-with-other-services)  
> [Invoices API](https://developer.squareup.com/docs/invoices-api/overview)

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:** [February 12, 2025, 9:19pm UTC](https://developer.squareup.com/forums/t/get-payments-by-customer-id/21036/3 "2025-02-12T21:19:21Z")

</div>

Unfortunately, a query parameter that will return all payments for a `customer_id` isn’t currently possible. You’ll have to query all payments from a sellers account for a specific `customer_id` if you want all the associated payments. 🙂
