question

Brian avatar image
Brian asked Brian commented

How Can Keep Track Refund History?

I follow coding voids/Refunds in https://docs.clover.com/docs/voids-and-refunds

How can I keep track of voids/refunds history?
For example: when I submit "SaleRequest" with ExternalId (pendingSaleRequest.setExternalId('DGR3YEWX0XY4');) then I can keep track by:
/v3/merchants/XXX/payments?filter=externalPaymentId in ('DGR3YEWX0XY4')&expand=voids&expand=cardTransaction

to get back information.
(I use Cound Pay Display + Javascript)
Thanks!

Refund
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered Brian commented

There is no external id for refunds. For payment refunds and voids you can use the same REST endpoint but filter by id (the payment id) and expand on voids and refunds. The payment response will contain any voids/refunds. For manual refunds you won't have a payment id, you would have to use https://docs.clover.com/reference/paygetrefunds-2 and use a timerange/amount.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Brian avatar image Brian commented ·
thanks, David!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community