CaptureTransaction
- Method
- Example Request
- Example Response
CaptureTransaction(CaptureTransactionRequest)
This operation is used to verify an authorized transaction with an OperationType of ‘Auth’.
note
The captureAmount element, if included in the request, accepts any value. If the value is different from the original transaction amount the new value will be accepted as the correct value.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| CaptureTransactionRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| CaptureTransactionResponse |
<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:CaptureTransaction>
<pv:storeId>0</pv:storeId>
<pv:storeKey isNull="true" />
<pv:entityId>12345</pv:entityId>
<pv:locationId>102030</pv:locationId>
<pv:originalReferenceNumber> T:123456789 </pv:originalReferenceNumber>
<pv:captureAmount>79.95</pv:captureAmount>
</pv:CaptureTransaction>
</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>
<CaptureTransactionResponse xmlns="https://ssl.selectpayment.com/PV">
<CaptureTransactionResult>
<ReferenceNumber>T:Q7NCKLT7A2L</ReferenceNumber>
<Success>true</Success>
<Error>false</Error>
<ResponseCode>Success</ResponseCode>
<ActualDate>9999-12-31T23:59:59.9999999-06:00</ActualDate>
<ResponseMessage/>
<OriginatedAs>ACH</OriginatedAs>
</CaptureTransactionResult>
</CaptureTransactionResponse>
</soap:Body>
</soap:Envelope>