This request should be used for PreAuth transactions. If you are currently using an AuthRequest with IsPreAuth = true, please change your code to use PreAuthRequest/PreAuthResponse for all PreAuth transactions.
Inheritance: TransactionRequest
        private void PreAuthButton_Click(object sender, EventArgs e)
        {
            PreAuthRequest preAuthRequest = new PreAuthRequest();
            preAuthRequest.ExternalId = ExternalIDUtil.GenerateRandomString(13);
            preAuthRequest.Amount = 5000; // for the example app, always do $50

            cloverConnector.PreAuth(preAuthRequest);
        }
 public void PreAuth(PreAuthRequest request)
 {
     Send("/PreAuth", request);
 }
        private void PreAuth(POSCard card)
        {
            StoreItems.BringToFront();
            StoreDiscounts.BringToFront();

            SaleButton.Enabled = false;
            StoreItems.Enabled = false;
            newOrderBtn.Enabled = false;

            PreAuthRequest request = new PreAuthRequest();
            request.Amount = Store.CurrentOrder.Total;
            request.ExternalId = ExternalIDUtil.GenerateRandomString(13);

            // Card Entry methods
            long CardEntry = 0;
            CardEntry |= ManualEntryCheckbox.Checked ? CloverConnector.CARD_ENTRY_METHOD_MANUAL : 0;
            CardEntry |= MagStripeCheckbox.Checked ? CloverConnector.CARD_ENTRY_METHOD_MAG_STRIPE : 0;
            CardEntry |= ChipCheckbox.Checked ? CloverConnector.CARD_ENTRY_METHOD_ICC_CONTACT : 0;
            CardEntry |= ContactlessCheckbox.Checked ? CloverConnector.CARD_ENTRY_METHOD_NFC_CONTACTLESS : 0;

            request.CardEntryMethods = CardEntry;
            request.CardNotPresent = CardNotPresentCheckbox.Checked;
            if (card != null)
            {
                request.VaultedCard = new com.clover.sdk.v3.payments.VaultedCard();
                request.VaultedCard.cardholderName = card.Name;
                request.VaultedCard.first6 = card.First6;
                request.VaultedCard.last4 = card.Last4;
                request.VaultedCard.expirationDate = card.Month + "" + card.Year;
                request.VaultedCard.token = card.Token;
            }
            cloverConnector.PreAuth(request);
        }
 public void PreAuth(PreAuthRequest request)
 {
     if (websocket != null)
     {
         PreAuthRequestMessage message = new PreAuthRequestMessage();
         message.payload = request;
         websocket.Send(JsonUtils.serialize(message));
     }
 }