post
https://example.com/api/v1/paymentmethods/riverty/v1/transactions//refunds
Create a refund for a specific capture within an existing Riverty transaction.
The captureId field is required for transactions with multiple captures, and optional for transactions with a single capture.
The items field is optional. If omitted, all items of the capture will be refunded.