I am using a PaypalPayment Pro to make some direct payments with the paypal API in Java and I am using the DoDirectPayment class for this purpose. Now I am searching a way to cancel a payment but it seems that the API does not offer this possibility. I searched through the documentation but I did not see anything convincing. I saw the class DoVoid which may correspond to what I am searching but I am not totally sure. What is the current class / or method for cancelling a payment with the Paypal API?
Thanks for your suggestions !!