SaleFromBankAccount
- Method
- Example Request
- Example Response
SaleFromBankAccount(SaleFromBankAccountRequest)
The purpose of this operation is to create a payment (debit) transaction from your customer’s account.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| SaleFromBankAccountRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| SaleFromBankAccountResponse |
<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:SaleFromBankAccount>
<pv:storeId>0</pv:storeId>
<pv:storeKey isNull="true" />
<pv:entityId>12345</pv:entityId>
<pv:locationId>102030</pv:locationId>
<pv:accountReferenceId>101</pv:accountReferenceId>
<pv:paymentOrigin>Internet</pv:paymentOrigin>
<pv:notificationMethod>Merchant_Notify</pv:notificationMethod>
<pv:Amount>101.01</pv:Amount>
<pv:terminalNumber>__WebService</pv:terminalNumber>
<pv:TransactionNumber>111</pv:TransactionNumber>
<pv:Description></pv:Description>
<pv:Field1></pv:Field1>
<pv:Field2></pv:Field2>
<pv:Field3></pv:Field3>
<pv:CheckNumber></pv:CheckNumber>
<pv:clientIP></pv:clientIP>
<pv:EffectiveDate>12-30-2010</pv:EffectiveDate>
</pv:SaleFromBankAccount>
</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>
<SaleFromBankAccountResponse xmlns="https://ssl.selectpayment.com/PV">
<SaleFromBankAccountResult>
<ReferenceNumber>T:06N6Y1R7A2L</ReferenceNumber>
<Success>true</Success>
<Error>false</Error>
<ResponseCode>Success</ResponseCode>
<ActualDate>2010-12-30T00:00:00.0000000-06:00</ActualDate>
<ResponseMessage/>
<OriginatedAs>ACH</OriginatedAs>
</SaleFromBankAccountResult>
</SaleFromBankAccountResponse>
</soap:Body>
</soap:Envelope>