4D Payments SDK 2016 .NET Edition

Questions / Feedback?

VerifyCard Method

Performs a zero dollar verification of the card.


public void VerifyCard();
Public Sub VerifyCard()


This method performs a card verification without charging any funds. This can be used to simply verify if the card is valid, or perform AVS and CVV checks without actually charging any funds to the card.

When calling this method TransactionAmount must be set to 0. Set either CustomerAddress or CustomerZip to perform AVS checks. Set CVVData to perform CVV checks.

The following combinations are supported:

Card TypeVerificationw/ AVSw/ CVVw/ AVS and CVVSwiped w/ AVS
Visa Y Y Y N Y
MasterCard Y Y Y Y Y
American ExpressN Y N N Y
Discover Y Y Y Y Y
JCB (Domestic US)N N N N N
Diners Club Y Y Y Y Y

Important Note: You must ping your list of service provider URLs and update the URL property to the service provider with the shortest response time every 100 transactions, as well as when your application initially starts. This is not a normal ICMP ping - to determine the fastest transaction URL you must use the special Ping method inside the FDMSRegister component. (You may update your list of service provider URLs with the FDMSRegister component's ServiceDiscovery method).

Retail VerifyCard Example

retail.TPPID = "AAA000";
retail.MerchantTerminalNumber = "00000001";
retail.MerchantId = "1234";
retail.GroupId = "20001";
retail.DatawireId = "00011122233344455566";
retail.ApplicationId = "RAPIDCONNECTVXN";
retail.URL = "https://stg.dw.us.fdcnet.biz/rc";

retail.IndustryType = FdmsrcretailIndustryTypes.fritRetail;
retail.URL = "https://stg.dw.us.fdcnet.biz/rc";

retail.STAN = "112";
retail.TransactionNumber = "1234";
retail.ReferenceNumber = "123";
retail.TransactionAmount = "0";

retail.CustomerZip = "11747";

//Card data can be swiped or manually keyed
retail.Card.Number = "373953123443227";
retail.Card.ExpMonth = 12;
retail.Card.ExpYear = 2018;
retail.Card.EntryDataSource = EntryDataSources.edsManualEntryTrack1Capable;


.NET Standard Notes

To call this method in an asynchronous manner call VerifyCardAsync instead. When the method completes (or an error is encountered) the VerifyCardCompleted event will fire.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]