question

bste2174 avatar image
bste2174 asked bste2174 answered

refund webhooks

We are wondering if Clover has an instance that a webhook is set for refunds? We are wanitng this for just normal payments, not orders.

Webhooks
10 |2000

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

bryanvargas avatar image
bryanvargas answered

When you subscribe to payments webhooks you will get updates for payments made and updates.

More info on what events you can subscribe to can be found here: https://docs.clover.com/docs/webhooks

10 |2000

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

bste2174 avatar image
bste2174 answered parquet76 edited

How would the event be structured for a refund or void versus a regular payment?

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.

parquet76 avatar image parquet76 commented ·

The structure is the same. You will get the id, then you have to retrieve the payment expanding on refunds and voids (undocumented) to see if there is a refund/void. Not ideal, but that's how it works. Try it in sandbox.

0 Likes 0 ·
bste2174 avatar image
bste2174 answered

Does the webhook notify us of a merchant credit? (In Clover the term is manual refund but I think it is merchant credit in the API)

10 |2000

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

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