question

jdcunha avatar image
jdcunha asked parquet76 edited

Ecommerce API - Void?

Hello,

I am wondering if there is an endpoint in the Ecommerce API for voiding a charge. I use the create charge endpoint to take a payment in Clover, and then I save a transaction record to my system's database. If my system encounters an error and fails to save the transaction record, I want to void the charge in Clover.

Is this possible?

ecommerce
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 answered parquet76 edited

https://docs.clover.com/docs/ecommerce-refunding-payments#refund-charges

I don't think there is a specific endpoint for void. Internally, Clover should void the payment, if possible, when you call refund (although I believe it will always show up as a refund in the merchant's dashboard). Even though this article is geared towards semi-integrations you can read more about this here: https://medium.com/clover-platform-blog/working-with-voids-and-refunds-fe4a7aeed8fa, see the section titled "The Clover Advantage".


10 |2000

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

lorenan avatar image
lorenan answered

Maybe, This is a POST call to the VOIDS endpoint of the Riverty eCommerce API. It contains the total price of all the items being cancelled.

hungry shark

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