REST API

Optional Fields for Performing a Refund

Use the optional amount and currency fields to perform a partial refund. Otherwise, the full amount will be refunded.
amountDetails.amount
Set this value to the transaction amount.
amountDetails.currency
Set this value to the currency code.