Card Validation service WSDL

This section shows the sections of the WSDL that describe each Card Validation service. The Card Validation service also uses some of the common structures used by the other Bank Wizard services, these structures are contained in BankWizardCommon-v1.0.xsd and BankWizardCommon-v1.1.xsd.

The WSDL sections may be subject to change in future releases of Bank Wizard, however every effort will be made to make sure the WSDL remains backwardly compatible.

You must use the physical WSDL when you are creating any bespoke client applications. This is because the generated WSDL may not correctly construct all of the elements.

Structures used by all Card Validation services

BankWizardCardService-v1.wsdl

Types

<element name="ValidateCardDetailsRequest" type="bankwizardcard:ValidateCardDetailsRequest" />

<element name="ValidateCardDetailsResponse" type="bankwizardcard:ValidateCardDetailsResponse" />

<element name="MatchDebitCardDetailsRequest" type="bankwizardcard:MatchDebitCardDetailsRequest" />

<element name="MatchDebitCardDetailsResponse" type="bankwizardcard:MatchDebitCardDetailsResponse" />

<element name="VerifyAvsCvvRequest" type="bankwizardcard:VerifyAvsCvvRequest" />

<element name="VerifyAvsCvvResponse" type="bankwizardcard:VerifyAvsCvvResponse" />

<element name="VerifyAvsCvvVelocityRequest" type="bankwizardcard_1_1:VerifyAvsCvvVelocityRequest" />

<element name="VerifyAvsCvvVelocityResponse" type="bankwizardcard_1_1:VerifyAvsCvvVelocityResponse" />

<element name="MatchCardHolderRequest" type="bankwizardcard_1_1:MatchCardHolderRequest" />

<element name="MatchCardHolderResponse" type="bankwizardcard_1_1:MatchCardHolderResponse" />

BankWizardCardService-v1.0.xsd

<xsd:complexType name="GenericCodeMessage">

<xsd:attribute name="Code" type="xsd:integer" use="required" />

<xsd:attribute name="Message" type="xsd:string" use="required" />

</xsd:complexType>

 

<xsd:complexType name="GenericRequest" abstract="true">

<xsd:attribute name="ReportString" type="bwcommon:ReportString" use="optional" />

<xsd:attribute name="ItemisationID" type="bwcommon:ItemisationID" use="optional" />

</xsd:complexType>

 

<xsd:complexType name="GenericResponse" abstract="true">

<xsd:sequence>

<xsd:element name="ID" minOccurs="1" maxOccurs="1" type="bankwizardcard:guid" />

</xsd:sequence>

</xsd:complexType>

 

<xsd:complexType name="CardDetails">

<xsd:sequence>

<xsd:element name="PAN" minOccurs="1" maxOccurs="1" type="xsd:string" />

<xsd:element name="CVV" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string" />

<xsd:element name="IssueNumber" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string" />

<xsd:element name="ValidFrom" minOccurs="0" maxOccurs="1" type="bankwizardcard:CardDate" />

<xsd:element name="ValidUntil" minOccurs="1" maxOccurs="1" type="bankwizardcard:CardDate" />

</xsd:sequence>

</xsd:complexType>

 

<xsd:complexType name="CardDate">

<xsd:attribute name="Month" type="xsd:int" use="required" />

<xsd:attribute name="Year" type="xsd:int" use="required" />

</xsd:complexType>

 

<xsd:simpleType name="guid">

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />

</xsd:restriction>

</xsd:simpleType>

 

<xsd:complexType name="CardValidationResponse">

<xsd:sequence>

<xsd:element name="CardCondition" minOccurs="0" maxOccurs="unbounded" type="bankwizardcard:CardCondition" />

<xsd:element name="CardType" minOccurs="1" maxOccurs="1" nillable="true" type="bankwizardcard:TypeOfCard" />

<xsd:element name="SubType" minOccurs="1" maxOccurs="1" nillable="true" type="bankwizardcard:SubTypeOfCard" />

<xsd:element name="SchemeName" minOccurs="1" maxOccurs="1" nillable="true" type="xsd:string" />

<xsd:element name="IssuerName" minOccurs="1" maxOccurs="1" nillable="true" type="xsd:string" />

</xsd:sequence>

</xsd:complexType>

 

<xsd:complexType name="CardCondition">

<xsd:attribute name="Code" type="xsd:int" use="required" />

<xsd:attribute name="Severity" type="bwcommon:ConditionSeverity" use="required" />

<xsd:attribute name="Reason" type="xsd:int" use="optional" />

</xsd:simpleType>

 

<xsd:simpleType name="TypeOfCard">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="CreditCharge" />

<xsd:enumeration value="CreditCard" />

<xsd:enumeration value="ChargeCard" />

<xsd:enumeration value="DebitCard" />

<xsd:enumeration value="PrepaidCard" />

<xsd:enumeration value="AcquirerOnly" />

<xsd:enumeration value="Clearing" />

<xsd:enumeration value="StoreCard" />

<xsd:enumeration value="AcquiringOnly" />

<xsd:enumeration value="Rewards" />

<xsd:enumeration value="Unknown" />

<xsd:enumeration value="CashCard" />

</xsd:restriction>

</xsd:simpleType>

 

<xsd:simpleType name="SubTypeOfCard">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Unknown" />

<xsd:enumeration value="Business" />

<xsd:enumeration value="Corporate" />

</xsd:restriction>

</xsd:simpleType>