The payPalRefundService service:
nEnables you to perform a full refund for an order.
nEnables you to perform multiple partial refunds for an order.
When you request payPalRefundService, you must include the following fields in the request:
npayPalRefundService_run
npayPalRefundService_paypalCaptureId—This value determines which capture will be refunded.
npayPalRefundService_paypalDoCaptureRequestID—This value determines which capture will be refunded.
npayPalRefundService_paypalDoCaptureRequestToken
nmerchantID
nmerchantReferenceCode
npurchaseTotals_grandTotalAmount—The amount of the refund determines if it is a full refund or a partial refund.
Additional fields are optional. The required and optional fields are described in API Fields.