Optional Fields for a Refund

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