I use the Paypal API for authorization and capture, I can easily authorize, capture and cancel payments.
the problem is that a payment was once taken, I donβt see the possibility of returning it, because "RefundTransaction" tells me that I can not return this type of payment, and "DoVoid" says that the payment has already been fixed.
Is there no way to return captured authorization through the API?
SOLVE I used the transaction identifier for authorization, it is necessary to use the transaction identifier obtained at the time of capture.
source share