SaleFromCardAccount
- Method
- Example Request
- Example Response
SaleFromCardAccount(SaleFromCardAccountRequest)
The purpose of this operation is to create a payment via a customer’s credit card account.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| SaleFromCardAccountRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| SaleFromCardAccountResponse |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pv="https://ssl.selectpayment.com/PV">
<soapenv:Header>
<pv:SecurityHeader>
<pv:BinarySecurityToken>your security token here</pv:BinarySecurityToken>
</pv:SecurityHeader>
</soapenv:Header>
<soapenv:Body>
<pv:SaleFromCardAccount>
<pv:storeId>0</pv:storeId>
<pv:storeKey isNull="true" />
<pv:entityId>12345</pv:entityId>
<pv:locationId>102030</pv:locationId>
<pv:accountReferenceId>102</pv:accountReferenceId>
<pv:paymentOrigin>Internet</pv:paymentOrigin>
<pv:Amount>100.00</pv:Amount>
<pv:terminalNumber>__WebService</pv:terminalNumber>
<pv:TransactionNumber>112</pv:TransactionNumber>
<pv:Description> </pv:Description>
<pv:Field1></pv:Field1>
<pv:Field2></pv:Field2>
<pv:Field3></pv:Field3>
<pv:CCVS>3123</pv:CCVS>
<pv:clientIP></pv:clientIP>
<pv:storedCredential>Customer</pv:storedCredential>
</pv:SaleFromCardAccount>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SaleFromCardAccountResponse xmlns="https://ssl.selectpayment.com/PV">
<SaleFromCardAccountResult>
<ReferenceNumber>T:82Q1Y1A7A2L</ReferenceNumber>
<Success>true</Success>
<Error>false</Error>
<ResponseCode>Success</ResponseCode>
<ActualDate>2010-12-30T00:00:00.0000000-06:00</ActualDate>
<ResponseMessage>Success</ResponseMessage>
<OriginatedAs>Card_Transfer</OriginatedAs>
</SaleFromCardAccountResult>
</SaleFromCardAccountResponse>
</soap:Body>
</soap:Envelope>