This Web service operation does the validation check on a credit card. It checks the card length based on the card type, performs a mod 10 checksum, and checks the expiration date. The return value could be: 0 – good, 1001 – no card number, 1002 – no expiration date, 1003 – invalid card type, 1004 – invalid card length, 1005 – invalid mod 10 check, 1006 – invalid expiration date. The URL to access this operation is:
https://secure.ftipgw.com/ArgoFire/validate.asmx?op=ValidCard
Descriptions of the parameters are listed below.
Parameter | Description |
---|---|
CardNumber | Required. The number of a credit card |
ExpDate | Required. The expiration date of a credit card |
Example
The example data below will result in return 0.
Parameter | Value |
---|---|
CardNumber | 5454545454545454 |
ExpDate | 0509 |
Response
<?xml version="1.0" encoding="utf-8" ?>
<int xmlns="https://secure.ftipgw.com/ArgoFire/">0</int>
Example
The example data below will return 1005.
Parameter | Value |
---|---|
CardNumber | 5454545454545453 |
ExpDate | 0509 |
Response
<?xml version="1.0" encoding="utf-8" ?>
<int xmlns="https://secure.ftipgw.com/ArgoFire/">1005</int>
Copyright 2024 FrontStream Holdings, LLC.
FrontStream Payments is a registered ISO/MSP of Elavon, Inc, Georgia, First National Bank of Omaha, Omaha, NE, Citizen Bank N.A.,
Providence, RI, and Wells Fargo Bank, N.A., Concord, CA., Peoples Trust Company, Vancouver, Canada