post
https://example.com/api/v1/paymentmethods/riverty/v1/transactions//cancellations
Cancel an existing Riverty transaction. The transactionId parameter must be the ID of the transaction to be cancelled.
Important: A transaction cannot be cancelled if it has already been partially or fully captured. Cancellation is only possible for authorized transactions that have not yet been captured.
Leaving the amount field empty will cancel the full amount of the transaction. If an amount is specified, it must be a positive value and not exceed the remaining uncancelled amount of the transaction.