Is it possible to cancel a refund? #11
-
Hi Dojo team, For the Dojo Payments API, is there a mechanism to cancel/reverse a Refund that has been created against a captured payment intent? I am working on integrating Dojo with an ERP system that has a refund workflow that is symmetrical to the sales workflow. For example we 'create then capture' the payment intent and 'reverse' the payment intent if something goes wrong between Similarly, it would be ideal to create a 'refund' and then 'cancel' the refund if something went wrong (e.g. user abandons refund checkout process, because the customer decides to request a refund via different means). Thanks in advance! Edit: Note for future readers, I am using captureMode:Manual |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, Before I can correctly answer your question, I just want to clarify some things first:
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Regarding cancellation of a refund, we currently do not support this feature. However, we are going to discuss this and include it later. |
Beta Was this translation helpful? Give feedback.
Hi,
Before I can correctly answer your question, I just want to clarify some things first:
In paragraph 3 above, what do you mean by "reverse"? Do you mean cancelling a payment which was not captured?
Because for our API, reversal has a very specific purpose, which is to "reverse" an already captured payment: https://docs.dojo.tech/payments/api#tag/Reversal (reversal can only be called on the day when the payment was captured, after that you will have to use the refund flow.)
In paragraph 4. Once the refund is made via API and it was successful, there is no real way to cancel it.
Although I am not familiar with the details of how your system is implemented, but for the specific refund…