# Receive Webhook payment.updated Only for Specific Customers

**URL:** <https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956>\
**Category:** Questions\
**Created:** [July 7, 2023, 5:40pm UTC](https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956 "2023-07-07T17:40:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mango74](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mango74](https://developer.squareup.com/forums/u/mango74)\
**Post date:** [July 7, 2023, 5:40pm UTC](https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956/1 "2023-07-07T17:40:03Z")

</div>

Currently, anytime a payment is processed in Square I receive the inbound webhook payment.updated. This webhook works how it should.

Is there a way for me to only receive the payment.updated payload when a specific button is pressed on the Square POS register?

For my application, I only need to know when some customers’ transactions are processed, not every single customer. It is for a loyalty program. So, if the customer is not a loyalty member, I do not want to receive anything from Square.

Is it possible to only receive a webhook when a customer is associated with a transaction?

Or is there an alternative webhook subscription I should look into to solve this?

Thank you!

---

<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:** [July 7, 2023, 6:07pm UTC](https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956/2 "2023-07-07T18:07:55Z")

</div>

At this time the ability to filter the `payment.updated` event isn’t currently available. 🙂

---

<div class="post-metadata">

**Author:** ![mango74](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mango74](https://developer.squareup.com/forums/u/mango74)\
**Post date:** [July 7, 2023, 7:40pm UTC](https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956/3 "2023-07-07T19:40:27Z")

</div>

Thank you, Brian.

Is there another webhook endpoint I could listen to instead?

For example, Is there a webhook endpoint that sends a payload if a customer is associated with a transaction?

So if a customer profile is connected to the sale I would receive the webhook payload.

If no customer profile is connected to the sale, I don’t receive a webhook payload.

---

<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:** [July 7, 2023, 9:12pm UTC](https://developer.squareup.com/forums/t/receive-webhook-payment-updated-only-for-specific-customers/9956/4 "2023-07-07T21:12:43Z")

</div>

Unfortunately, there isn’t a webhook event that only fires when a customer is associated to a payment. 🙂
