This request should be used to make a payment request using the RefundPayment method
상속: BaseRequest
 public void RefundPayment(RefundPaymentRequest request)
 {
     Send("/RefundPayment", request);
 }
        //////////////// Payment Refund methods /////////////
        private void RefundPaymentButton_Click(object sender, EventArgs e)
        {
            RefundPaymentRequest request = new RefundPaymentRequest();

            if (OrderPaymentsView.SelectedItems.Count == 1)
            {
                POSPayment payment = ((POSPayment)OrderPaymentsView.SelectedItems[0].Tag);
                request.PaymentId = payment.PaymentID;
                POSOrder order = (POSOrder)OrdersListView.SelectedItems[0].Tag;
                request.OrderId = payment.OrderID;
                request.Amount = 0;
                request.FullRefund = true;
                TempObjectMap.Clear();
                TempObjectMap.Add(payment.PaymentID, order);
                cloverConnector.RefundPayment(request);
            }
        }
 public void RefundPayment(RefundPaymentRequest request)
 {
     if (websocket != null)
     {
         RefundPaymentRequestMessage message = new RefundPaymentRequestMessage();
         message.payload = request;
         websocket.Send(JsonUtils.serialize(message));
     }
 }