# How to get employee information who captured the payment?

**URL:** <https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860>\
**Category:** Questions\
**Tags:** orders-api, payments-api\
**Created:** [June 21, 2021, 10:04pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860 "2021-06-21T22:04:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanaa.khan](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sanaa.khan](https://developer.squareup.com/forums/u/sanaa.khan)\
**Post date:** [June 21, 2021, 10:04pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860/1 "2021-06-21T22:04:32Z")

</div>

I was using the EmployeeAPI till now, but now I see that it’s deprecated. Where can I get the information about the employee/team member who captured the payment? using PaymentsAPI/OrdersAPI.

---

<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:** [June 22, 2021, 3:21pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860/2 "2021-06-22T15:21:22Z")

</div>

👋 The `employee_id` will be in the `payment object` from the Payments API if the employee entered their passcode and completed the payment in the POS. 🙂

---

<div class="post-metadata">

**Author:** ![sanaa.khan](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sanaa.khan](https://developer.squareup.com/forums/u/sanaa.khan)\
**Post date:** [June 22, 2021, 3:46pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860/3 "2021-06-22T15:46:14Z")

</div>

Thank you for your response. So the employee\_id in the payment object is null but I do see the Employee details when I export the Transactions. Any way I can get that info through the API?

---

<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:** [June 22, 2021, 3:47pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860/4 "2021-06-22T15:47:42Z")

</div>

What’s the `payment_id`?

---

<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:** [June 22, 2021, 8:26pm UTC](https://developer.squareup.com/forums/t/how-to-get-employee-information-who-captured-the-payment/2860/6 "2021-06-22T20:26:22Z")

</div>

Looking at the payment `3dN09JE3TsXB8lvAsrR5ONCeuaB `I do see that the `employee_id` is included in the response from the [GetPayment](https://developer.squareup.com/reference/square/payments-api/get-payment) request. 🙂
