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).

ECommerce VerifyCard Code Example

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

fdmsrcecommerce.STAN = "112";
fdmsrcecommerce.TransactionNumber = "1234";
fdmsrcecommerce.ReferenceNumber = "1212";
fdmsrcecommerce.OrderNumber = "123";

fdmsrcecommerce.Card.Number = "5424181111112236";
fdmsrcecommerce.Card.ExpMonth = 4;
fdmsrcecommerce.Card.ExpYear = 2016;
fdmsrcecommerce.Card.CVVData = "123"; 

fdmsrcecommerce.TransactionAmount = "0";
fdmsrcecommerce.CustomerAddress = "1307 Broad Hollow Road";
fdmsrcecommerce.CustomerZip = "11747";


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