question

huynguyen avatar image
huynguyen asked justina Deactivated answered

[SNPD]CloverConnector: when to use refundPayment and voidPayment

We are developing mobile(Android and iOS) applications to integrate to Clover System via SNPD. After perform a payment, we store the payment info in our system. When user wants to do a refund from a mobile (Android and iOS)apps, mobile apps will call either refundPayment and voidPayment. However, I we do not have sufficient information from the current Payment info to determine whether the app should call refundPayment or voidPayment.
Question:
1)Do we have any api that can be used to determine whether a Payment should be refunded or voided?
2)If the current batch has not been closed yet, will the refundPayment work properly? Or the app has to invoke voidPayment?
3)If the current batch has been closed already, will the voidPayment work properly? Or the app has to invoke refundPayment?
secure network pay display
10 |2000

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

0 Answers

Welcome to the
Clover Developer Community