Reference for http://ws.veriscanonline.com/VSWebServices67/PayFromClientCard

Processing payment from client payment card.

Url: http://ws.veriscanonline.com/VSWebServices67/PayFromClientCard

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<PayFromClientCardRequestModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments">
  <AppVersion xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</AppVersion>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</CompanyId>
  <ComputerName xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ComputerName>
  <HardwareId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</HardwareId>
  <IsLive xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">true</IsLive>
  <TimeZoneId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</TimeZoneId>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</UserId>
  <Login xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Login>
  <Password xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Password>
  <Amount>2147483647</Amount>
  <AmountCurrency>String content</AmountCurrency>
  <CardCVC>String content</CardCVC>
  <CardCurrency>String content</CardCurrency>
  <CardExpirationMonth>2147483647</CardExpirationMonth>
  <CardExpirationYear>2147483647</CardExpirationYear>
  <CardID>2147483647</CardID>
  <CardNumber>String content</CardNumber>
  <CardToken>String content</CardToken>
  <ClientEmail>String content</ClientEmail>
  <ClientPhone>String content</ClientPhone>
  <CouponId>2147483647</CouponId>
  <ExternalPayment>
    <ErrorMessage>String content</ErrorMessage>
    <IsSuccess>true</IsSuccess>
    <TransactionDetail>
      <ApplicationId>String content</ApplicationId>
      <ApplicationLabel>String content</ApplicationLabel>
      <ApplicationPreferredName>String content</ApplicationPreferredName>
      <AuthCode>String content</AuthCode>
      <CustomerVerificationMethod>String content</CustomerVerificationMethod>
      <Id>18446744073709551615</Id>
      <TransactionStatusInfo>String content</TransactionStatusInfo>
    </TransactionDetail>
  </ExternalPayment>
  <IdempotencyKey>1627aea5-8e0a-4371-9022-9b504344e724</IdempotencyKey>
  <IsManual>true</IsManual>
  <IsOrder>true</IsOrder>
  <OrderItems>
    <OrderItemRequestResponseModel>
      <Price>2147483647</Price>
      <ProductId>2147483647</ProductId>
      <Quantity>2147483647</Quantity>
    </OrderItemRequestResponseModel>
    <OrderItemRequestResponseModel>
      <Price>2147483647</Price>
      <ProductId>2147483647</ProductId>
      <Quantity>2147483647</Quantity>
    </OrderItemRequestResponseModel>
  </OrderItems>
  <Tip>2147483647</Tip>
</PayFromClientCardRequestModel>

The following is an example request Json body:

{
	"AppVersion":"String content",
	"CompanyId":"String content",
	"ComputerName":"String content",
	"HardwareId":"String content",
	"IsLive":true,
	"TimeZoneId":"String content",
	"UserId":2147483647,
	"Login":"String content",
	"Password":"String content",
	"Amount":2147483647,
	"AmountCurrency":"String content",
	"CardCVC":"String content",
	"CardCurrency":"String content",
	"CardExpirationMonth":2147483647,
	"CardExpirationYear":2147483647,
	"CardID":2147483647,
	"CardNumber":"String content",
	"CardToken":"String content",
	"ClientEmail":"String content",
	"ClientPhone":"String content",
	"CouponId":2147483647,
	"ExternalPayment":{
		"ErrorMessage":"String content",
		"IsSuccess":true,
		"TransactionDetail":{
			"ApplicationId":"String content",
			"ApplicationLabel":"String content",
			"ApplicationPreferredName":"String content",
			"AuthCode":"String content",
			"CustomerVerificationMethod":"String content",
			"Id":18446744073709551615,
			"TransactionStatusInfo":"String content"
		}
	},
	"IdempotencyKey":"1627aea5-8e0a-4371-9022-9b504344e724",
	"IsManual":true,
	"IsOrder":true,
	"OrderItems":[{
		"Price":2147483647,
		"ProductId":2147483647,
		"Quantity":2147483647
	}],
	"Tip":2147483647
}

The following is an example response Xml body:

<PayFromClientCardResponseModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ErrorCode>
  <Status xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Status>
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</StatusCode>
  <ValidationResult xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">
    <ResponseValidationResultItem>
      <Errors>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Errors>
      <Field>String content</Field>
    </ResponseValidationResultItem>
    <ResponseValidationResultItem>
      <Errors>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Errors>
      <Field>String content</Field>
    </ResponseValidationResultItem>
  </ValidationResult>
  <Amount>2147483647</Amount>
  <idStripeBillingLog>9223372036854775807</idStripeBillingLog>
</PayFromClientCardResponseModel>

The following is an example response Json body:

{
	"ErrorCode":"String content",
	"Status":"String content",
	"StatusCode":2147483647,
	"ValidationResult":[{
		"Errors":["String content"],
		"Field":"String content"
	}],
	"Amount":2147483647,
	"idStripeBillingLog":9223372036854775807
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" />
  <xs:complexType name="PayFromClientCardRequestModel">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q1:RequestModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="Amount" type="xs:int" />
          <xs:element minOccurs="0" name="AmountCurrency" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CardCVC" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CardCurrency" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CardExpirationMonth" type="xs:int" />
          <xs:element minOccurs="0" name="CardExpirationYear" type="xs:int" />
          <xs:element minOccurs="0" name="CardID" type="xs:int" />
          <xs:element minOccurs="0" name="CardNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CardToken" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ClientEmail" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ClientPhone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CouponId" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="ExternalPayment" nillable="true" type="tns:ExternalPaymentRequestResponseModel" />
          <xs:element minOccurs="0" name="IdempotencyKey" type="ser:guid" />
          <xs:element minOccurs="0" name="IsManual" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsOrder" type="xs:boolean" />
          <xs:element minOccurs="0" name="OrderItems" nillable="true" type="tns:ArrayOfOrderItemRequestResponseModel" />
          <xs:element minOccurs="0" name="Tip" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PayFromClientCardRequestModel" nillable="true" type="tns:PayFromClientCardRequestModel" />
  <xs:complexType name="ExternalPaymentRequestResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
      <xs:element minOccurs="0" name="TransactionDetail" nillable="true" type="tns:TransactionDetailsRequestResponseModel" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ExternalPaymentRequestResponseModel" nillable="true" type="tns:ExternalPaymentRequestResponseModel" />
  <xs:complexType name="TransactionDetailsRequestResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApplicationId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApplicationLabel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApplicationPreferredName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AuthCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerVerificationMethod" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:unsignedLong" />
      <xs:element minOccurs="0" name="TransactionStatusInfo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TransactionDetailsRequestResponseModel" nillable="true" type="tns:TransactionDetailsRequestResponseModel" />
  <xs:complexType name="ArrayOfOrderItemRequestResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderItemRequestResponseModel" nillable="true" type="tns:OrderItemRequestResponseModel" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrderItemRequestResponseModel" nillable="true" type="tns:ArrayOfOrderItemRequestResponseModel" />
  <xs:complexType name="OrderItemRequestResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="Price" type="xs:int" />
      <xs:element minOccurs="0" name="ProductId" type="xs:int" />
      <xs:element minOccurs="0" name="Quantity" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OrderItemRequestResponseModel" nillable="true" type="tns:OrderItemRequestResponseModel" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="RequestModel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RequestModelBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RequestModel" nillable="true" type="tns:RequestModel" />
  <xs:complexType name="RequestModelBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppVersion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ComputerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HardwareId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsLive" type="xs:boolean" />
      <xs:element minOccurs="0" name="TimeZoneId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RequestModelBase" nillable="true" type="tns:RequestModelBase" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" />
  <xs:complexType name="PayFromClientCardResponseModel">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q1:ResponseModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="Amount" type="xs:int" />
          <xs:element minOccurs="0" name="idStripeBillingLog" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PayFromClientCardResponseModel" nillable="true" type="tns:PayFromClientCardResponseModel" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StatusCode" type="xs:int" />
      <xs:element minOccurs="0" name="ValidationResult" nillable="true" type="tns:ArrayOfResponseValidationResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseModel" nillable="true" type="tns:ResponseModel" />
  <xs:complexType name="ArrayOfResponseValidationResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfResponseValidationResultItem" nillable="true" type="tns:ArrayOfResponseValidationResultItem" />
  <xs:complexType name="ResponseValidationResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="Errors" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="Field" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>